Lines Matching defs:offset

286 				$this->TTCFonts[$i]['offset'] = $this->read_ulong();
288 $this->seek($this->TTCFonts[$TTCfontID]['offset']);
310 $record['offset'] = $this->read_ulong();
325 $table = $this->get_chunk($t['offset'], $t['length']);
389 $offset = $this->tables[$tag]['offset'];
392 return [$offset, $length];
490 function splice($stream, $offset, $value)
492 return substr($stream, 0, $offset) . $value . substr($stream, $offset + strlen($value));
495 function _set_ushort($stream, $offset, $value)
499 return $this->splice($stream, $offset, $up);
502 function _set_short($stream, $offset, $val)
511 return $this->splice($stream, $offset, $up);
582 $this->TTCFonts[$i]['offset'] = $this->read_ulong();
584 $this->seek($this->TTCFonts[$TTCfontID]['offset']);
597 $offset = $this->read_ulong();
600 $format = $this->get_ushort($cmap_offset + $offset);
602 $unicode_cmap_offset = $cmap_offset + $offset;
606 $format = $this->get_ushort($cmap_offset + $offset);
608 $unicode_cmap_offset = $cmap_offset + $offset;
668 $this->TTCFonts[$i]['offset'] = $this->read_ulong();
695 $offset = $this->read_ushort();
704 $this->seek($string_data_offset + $offset);
719 $N = $this->get_chunk($string_data_offset + $offset, $length);
1020 $offset = $this->read_ulong();
1023 $format = $this->get_ushort($cmap_offset + $offset);
1026 $unicode_cmap_offset = $cmap_offset + $offset;
1033 $format = $this->get_ushort($cmap_offset + $offset);
1035 $unicode_cmap_offset = $cmap_offset + $offset;
1080 $offset = 0;
1082 $glyph = $startGlyphCode + $offset;
1083 $offset++;
1299 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.
1507 $Feature[$i]['offset'] = $FeatureList_offset + $this->read_ushort();
1511 $this->seek($Feature[$i]['offset']);
1581 // Overwrites new offset (32-bit) for each subtable, and a new lookup Type
1625 $Lookup[$i]['offset'] = $LookupList_offset + $this->read_ushort();
1629 $this->seek($Lookup[$i]['offset']);
1634 $Lookup[$i]['Subtable'][$c]['Offset'] = $Lookup[$i]['offset'] + $this->read_ushort();
1645 // Overwrites new offset (32-bit) for each subtable, and a new lookup Type
1786 $offset = $this->read_ushort();
1787 if ($offset == 0x0000) {
1790 $Lookup[$i]['Subtable'][$c]['SubClassSetOffset'][] = $Lookup[$i]['Subtable'][$c]['Offset'] + $offset;
1813 $offset = $this->read_ushort();
1814 if ($offset == 0x0000) {
1815 $Lookup[$i]['Subtable'][$c]['ChainSubClassSetOffset'][] = $offset;
1817 $Lookup[$i]['Subtable'][$c]['ChainSubClassSetOffset'][] = $Lookup[$i]['Subtable'][$c]['Offset'] + $offset;
3236 function _getClasses($offset)
3238 $this->seek($offset);
3346 $Feature[$i]['offset'] = $FeatureList_offset + $this->read_ushort();
3350 $this->seek($Feature[$i]['offset']);
3419 // Overwrites new offset (32-bit) for each subtable, and a new lookup Type
3489 $this->TTCFonts[$i]['offset'] = $this->read_ulong();
3491 $this->seek($this->TTCFonts[$TTCfontID]['offset']);
3521 $offset = $this->read_ulong();
3524 $format = $this->get_ushort($cmap_offset + $offset);
3526 $unicode_cmap_offset = $cmap_offset + $offset;
3665 0, 28, // Encoding Subtable : offset (hi,lo)
3667 0, 28, // Encoding Subtable : offset (hi,lo)
3669 0, 28, // Encoding Subtable : offset (hi,lo)
3858 foreach ($offsets as $offset) {
3859 $locastr .= pack("N", $offset);
3863 foreach ($offsets as $offset) {
3864 $locastr .= pack("n", ($offset / 2));
3981 $this->TTCFonts[$i]['offset'] = $this->read_ulong();
3983 $this->seek($this->TTCFonts[$TTCfontID]['offset']);
4014 $offset = $this->read_ulong();
4018 $format = $this->get_ushort($cmap_offset + $offset);
4020 $unicode_cmap_offset = $cmap_offset + $offset;
4026 $format = $this->get_ushort($cmap_offset + $offset);
4028 $unicode_cmap_offset = $cmap_offset + $offset;
4055 $offset = 0;
4057 $glyph = $startGlyphCode + $offset;
4058 $offset++;
4335 0, 20, // offset (hi,lo)
4337 $hoff, $loff, // offset (hi,lo)
4440 foreach ($offsets as $offset) {
4441 $locastr .= pack("N", $offset);
4445 foreach ($offsets as $offset) {
4446 $locastr .= pack("n", ($offset / 2));
4691 $offset = ($unichar - $startCount[$n]) * 2 + $idRangeOffset[$n];
4692 $offset = $idRangeOffset_start + 2 * $n + $offset;
4693 if ($offset >= $limit) {
4696 $glyph = $this->get_ushort($offset);
4734 $offset = 12 + $numTables * 16;
4737 $head_start = $offset;
4742 $stm .= pack('NN', $offset, strlen($data));
4744 $offset += $paddedLength;
4793 $this->TTCFonts[$i]['offset'] = $this->read_ulong();
4795 $this->seek($this->TTCFonts[$TTCfontID]['offset']);
4823 $offset = $this->read_ulong();
4826 $format = $this->get_ushort($cmap_offset + $offset);
4828 $unicode_cmap_offset = $cmap_offset + $offset;
4899 0, 28, // Encoding Subtable : offset (hi,lo)
4901 0, 28, // Encoding Subtable : offset (hi,lo)
4903 0, 28, // Encoding Subtable : offset (hi,lo)