function process(&$fh) { parent::process($fh); // create the Font DICT structures for ($dict = 0; $dict < count($this->offsets) - 1; $dict++) { $fontdict = new CFFFontDict(); $start = $this->datastart + $this->offsets[$dict]; $end = $this->datastart + $this->offsets[$dict + 1]; CFFDataParser::process_block($fh, $start, $end, $fontdict); $fontdict->load_private_dict($fh, $this->cff_offset, $this->CharStringType); $this->fontdicts[] = $fontdict; } }