Lines Matching defs:offset

217 				$this->TTCFonts[$i]['offset'] = $this->read_ulong();
219 $this->seek($this->TTCFonts[$TTCfontID]['offset']);
238 $record['offset'] = $this->read_ulong();
252 $table = $this->get_chunk($t['offset'], $t['length']);
308 $offset = isset($this->tables[$tag]['offset']) ? $this->tables[$tag]['offset'] : null;
311 return [$offset, $length];
409 function splice($stream, $offset, $value)
411 return substr($stream, 0, $offset) . $value . substr($stream, $offset + strlen($value));
414 function _set_ushort($stream, $offset, $value)
418 return $this->splice($stream, $offset, $up);
421 function _set_short($stream, $offset, $val)
430 return $this->splice($stream, $offset, $up);
489 $offset = $this->read_ushort();
496 $this->seek($string_data_offset + $offset);
512 $N = $this->get_chunk($string_data_offset + $offset, $length);
758 $offset = $this->read_ulong();
761 $format = $this->get_ushort($cmap_offset + $offset);
764 $unicode_cmap_offset = $cmap_offset + $offset;
773 $format = $this->get_ushort($cmap_offset + $offset);
775 $unicode_cmap_offset = $cmap_offset + $offset;
824 $offset = 0;
826 $glyph = $startGlyphCode + $offset;
827 $offset++;
1045 The table consists of an offset to a Coverage table (Coverage) listing all glyphs that define attachment points in the GPOS table, a count of the glyphs with attachment points (GlyphCount), and an array of offsets to AttachPoint tables (AttachPoint). The array lists the AttachPoint tables, one for each glyph in the Coverage table, in the same order as the Coverage Index.
1136 function _getClassDefinitionTable($offset = 0)
1139 if ($offset > 0) {
1140 $this->seek($offset);
1238 $Feature[$i]['offset'] = $FeatureList_offset + $this->read_ushort();
1241 $this->seek($Feature[$i]['offset']);
1330 // Overwrites new offset (32-bit) for each subtable, and a new lookup Type
1394 $Lookup[$i]['offset'] = $LookupList_offset + $this->read_ushort();
1397 $this->seek($Lookup[$i]['offset']);
1402 $Lookup[$i]['Subtable'][$c]['Offset'] = $Lookup[$i]['offset'] + $this->read_ushort();
1413 // Overwrites new offset (32-bit) for each subtable, and a new lookup Type
1563 $offset = $this->read_ushort();
1564 if ($offset == 0x0000) {
1567 $Lookup[$i]['Subtable'][$c]['SubClassSetOffset'][] = $Lookup[$i]['Subtable'][$c]['Offset'] + $offset;
1593 $offset = $this->read_ushort();
1594 if ($offset == 0x0000) {
1595 $Lookup[$i]['Subtable'][$c]['ChainSubClassSetOffset'][] = $offset;
1597 $Lookup[$i]['Subtable'][$c]['ChainSubClassSetOffset'][] = $Lookup[$i]['Subtable'][$c]['Offset'] + $offset;
2979 function _getClasses($offset)
2981 $this->seek($offset);
3091 $Feature[$i]['offset'] = $FeatureList_offset + $this->read_ushort();
3094 $this->seek($Feature[$i]['offset']);
3180 // Overwrites new offset (32-bit) for each subtable, and a new lookup Type
3695 $offset = $this->read_ushort();
3696 if ($offset!= 0 && $class == $MarkRecord[$i]['Class']) {
3979 function _getAnchorTable($offset = 0)
3981 if ($offset) {
3982 $this->seek($offset);
3992 function _getMarkRecord($offset, $MarkPos)
3994 $this->seek($offset);
3998 $MarkAnchor = $offset + $this->read_ushort(); // = Offset to anchor table
4223 $offset = ($unichar - $startCount[$n]) * 2 + $idRangeOffset[$n];
4224 $offset = $idRangeOffset_start + 2 * $n + $offset;
4225 if ($offset >= $limit) {
4228 $glyph = $this->get_ushort($offset);