Lines Matching refs:read_ushort

229 		$this->numTables = $this->read_ushort();
230 $this->searchRange = $this->read_ushort();
231 $this->entrySelector = $this->read_ushort();
232 $this->rangeShift = $this->read_ushort();
237 $record['checksum'] = [$this->read_ushort(), $this->read_ushort()];
364 function read_ushort()
474 $format = $this->read_ushort();
478 $numRecords = $this->read_ushort();
479 $string_data_offset = $name_offset + $this->read_ushort();
484 $platformId = $this->read_ushort();
485 $encodingId = $this->read_ushort();
486 $languageId = $this->read_ushort();
487 $nameId = $this->read_ushort();
488 $length = $this->read_ushort();
489 $offset = $this->read_ushort();
503 $char = $this->read_ushort();
581 $ver_maj = $this->read_ushort();
582 $ver_min = $this->read_ushort();
586 $this->fontRevision = $this->read_ushort() . $this->read_ushort();
597 $this->unitsPerEm = $unitsPerEm = $this->read_ushort();
606 $indexToLocFormat = $this->read_ushort();
607 $glyphDataFormat = $this->read_ushort();
630 $version = $this->read_ushort();
632 $usWeightClass = $this->read_ushort();
634 $fsType = $this->read_ushort();
685 $ver_maj = $this->read_ushort();
686 $ver_min = $this->read_ushort();
693 $this->italicAngle = $this->read_short() + $this->read_ushort() / 65536.0;
715 $ver_maj = $this->read_ushort();
716 $ver_min = $this->read_ushort();
724 $metricDataFormat = $this->read_ushort();
728 $numberOfHMetrics = $this->read_ushort();
738 $ver_maj = $this->read_ushort();
739 $ver_min = $this->read_ushort();
746 $numGlyphs = $this->read_ushort();
753 $cmapTableCount = $this->read_ushort();
756 $platformID = $this->read_ushort();
757 $encodingID = $this->read_ushort();
906 $version = $this->read_ushort();
907 $nTables = $this->read_ushort();
909 $sversion = $this->read_ushort();
910 $slength = $this->read_ushort();
911 $scoverage = $this->read_ushort();
915 $nPairs = $this->read_ushort();
918 $left = $this->read_ushort();
919 $right = $this->read_ushort();
944 $ver_maj = $this->read_ushort();
945 $ver_min = $this->read_ushort();
947 $GlyphClassDef_offset = $this->read_ushort();
948 $AttachList_offset = $this->read_ushort();
949 $LigCaretList_offset = $this->read_ushort();
950 $MarkAttachClassDef_offset = $this->read_ushort();
952 $MarkGlyphSetsDef_offset = $this->read_ushort();
1103 $MarkSetTableFormat = $this->read_ushort();
1104 $MarkSetCount = $this->read_ushort();
1144 $ClassFormat = $this->read_ushort();
1147 $StartGlyph = $this->read_ushort();
1148 $GlyphCount = $this->read_ushort();
1151 $class = $this->read_ushort();
1156 $tableCount = $this->read_ushort();
1158 $startGlyphID = $this->read_ushort();
1159 $endGlyphID = $this->read_ushort();
1160 $class = $this->read_ushort();
1182 $ScriptList_offset = $gsub_offset + $this->read_ushort();
1183 $FeatureList_offset = $gsub_offset + $this->read_ushort();
1184 $LookupList_offset = $gsub_offset + $this->read_ushort();
1188 $ScriptCount = $this->read_ushort();
1191 $ScriptTableOffset = $this->read_ushort();
1199 $DefLangSys_offset = $this->read_ushort();
1203 $LangSysCount = $this->read_ushort();
1206 $LangTableOffset = $this->read_ushort();
1219 $LookUpOrder = $this->read_ushort(); //==NULL
1220 $ReqFeatureIndex = $this->read_ushort();
1224 $FeatureCount = $this->read_ushort();
1226 $FeatureIndex[] = $this->read_ushort(); // = index of feature
1234 $FeatureCount = $this->read_ushort();
1238 $Feature[$i]['offset'] = $FeatureList_offset + $this->read_ushort();
1242 $this->read_ushort(); // null
1243 $Feature[$i]['LookupCount'] = $Lookupcount = $this->read_ushort();
1246 $Feature[$i]['LookupListIndex'][] = $this->read_ushort();
1308 $LookupCount = $this->read_ushort();
1313 $Offsets[$i] = $LookupList_offset + $this->read_ushort();
1317 $GSLookup[$i]['Type'] = $this->read_ushort();
1318 $GSLookup[$i]['Flag'] = $flag = $this->read_ushort();
1319 $GSLookup[$i]['SubtableCount'] = $SubtableCount[$i] = $this->read_ushort();
1321 $GSLookup[$i]['Subtables'][$c] = $Offsets[$i] + $this->read_ushort();
1325 $GSLookup[$i]['MarkFilteringSet'] = $this->read_ushort();
1333 $ExtensionPosFormat = $this->read_ushort();
1334 $type = $this->read_ushort();
1348 $PosFormat = $this->read_ushort();
1354 $BacktrackGlyphCount = $this->read_ushort();
1359 $Coverage = $GSLookup[$i]['Subtables'][$c] + $this->read_ushort();
1391 $LookupCount = $this->read_ushort();
1394 $Lookup[$i]['offset'] = $LookupList_offset + $this->read_ushort();
1398 $Lookup[$i]['Type'] = $this->read_ushort();
1399 $Lookup[$i]['Flag'] = $flag = $this->read_ushort();
1400 $Lookup[$i]['SubtableCount'] = $this->read_ushort();
1402 $Lookup[$i]['Subtable'][$c]['Offset'] = $Lookup[$i]['offset'] + $this->read_ushort();
1406 $Lookup[$i]['MarkFilteringSet'] = $this->read_ushort();
1416 $ExtensionPosFormat = $this->read_ushort();
1417 $type = $this->read_ushort();
1430 $SubstFormat = $this->read_ushort();
1448 $Lookup[$i]['Subtable'][$c]['CoverageTableOffset'] = $Lookup[$i]['Subtable'][$c]['Offset'] + $this->read_ushort();
1453 $GlyphCount = $this->read_ushort();
1455 $Lookup[$i]['Subtable'][$c]['Glyphs'][] = $this->read_ushort();
1462 $Lookup[$i]['Subtable'][$c]['CoverageTableOffset'] = $Lookup[$i]['Subtable'][$c]['Offset'] + $this->read_ushort();
1472 $Lookup[$i]['Subtable'][$c]['Sequences'][$s]['SubstituteGlyphID'][] = $this->read_ushort();
1478 $Lookup[$i]['Subtable'][$c]['CoverageTableOffset'] = $Lookup[$i]['Subtable'][$c]['Offset'] + $this->read_ushort();
1489 $Lookup[$i]['Subtable'][$c]['AlternateSets'][$s]['SubstituteGlyphID'][] = $this->read_ushort();
1495 $Lookup[$i]['Subtable'][$c]['CoverageTableOffset'] = $Lookup[$i]['Subtable'][$c]['Offset'] + $this->read_ushort();
1505 $Lookup[$i]['Subtable'][$c]['LigSet'][$s]['LigatureOffset'][$g] = $Lookup[$i]['Subtable'][$c]['LigSet'][$s]['Offset'] + $this->read_ushort();
1512 $Lookup[$i]['Subtable'][$c]['LigSet'][$s]['Ligature'][$g]['LigGlyph'] = $this->read_ushort();
1513 $Lookup[$i]['Subtable'][$c]['LigSet'][$s]['Ligature'][$g]['CompCount'] = $this->read_ushort();
1515 $Lookup[$i]['Subtable'][$c]['LigSet'][$s]['Ligature'][$g]['GlyphID'][$l] = $this->read_ushort();
1524 $Lookup[$i]['Subtable'][$c]['CoverageTableOffset'] = $Lookup[$i]['Subtable'][$c]['Offset'] + $this->read_ushort();
1534 $Lookup[$i]['Subtable'][$c]['SubRuleSet'][$s]['SubRuleOffset'][$g] = $Lookup[$i]['Subtable'][$c]['SubRuleSet'][$s]['Offset'] + $this->read_ushort();
1543 $Lookup[$i]['Subtable'][$c]['SubRuleSet'][$s]['SubRule'][$g]['GlyphCount'] = $this->read_ushort();
1544 $Lookup[$i]['Subtable'][$c]['SubRuleSet'][$s]['SubRule'][$g]['SubstCount'] = $this->read_ushort();
1547 $Lookup[$i]['Subtable'][$c]['SubRuleSet'][$s]['SubRule'][$g]['Input'][$l] = $this->read_ushort();
1551 $Lookup[$i]['Subtable'][$c]['SubRuleSet'][$s]['SubRule'][$g]['SubstLookupRecord'][$l]['SequenceIndex'] = $this->read_ushort();
1552 $Lookup[$i]['Subtable'][$c]['SubRuleSet'][$s]['SubRule'][$g]['SubstLookupRecord'][$l]['LookupListIndex'] = $this->read_ushort();
1559 $Lookup[$i]['Subtable'][$c]['CoverageTableOffset'] = $Lookup[$i]['Subtable'][$c]['Offset'] + $this->read_ushort();
1560 $Lookup[$i]['Subtable'][$c]['ClassDefOffset'] = $Lookup[$i]['Subtable'][$c]['Offset'] + $this->read_ushort();
1561 $Lookup[$i]['Subtable'][$c]['SubClassSetCnt'] = $this->read_ushort();
1563 $offset = $this->read_ushort();
1579 $Lookup[$i]['Subtable'][$c]['CoverageTableOffset'] = $Lookup[$i]['Subtable'][$c]['Offset'] + $this->read_ushort();
1580 $Lookup[$i]['Subtable'][$c]['ChainSubRuleSetCount'] = $this->read_ushort();
1582 $Lookup[$i]['Subtable'][$c]['ChainSubRuleSetOffset'][] = $Lookup[$i]['Subtable'][$c]['Offset'] + $this->read_ushort();
1587 $Lookup[$i]['Subtable'][$c]['CoverageTableOffset'] = $Lookup[$i]['Subtable'][$c]['Offset'] + $this->read_ushort();
1588 $Lookup[$i]['Subtable'][$c]['BacktrackClassDefOffset'] = $Lookup[$i]['Subtable'][$c]['Offset'] + $this->read_ushort();
1589 $Lookup[$i]['Subtable'][$c]['InputClassDefOffset'] = $Lookup[$i]['Subtable'][$c]['Offset'] + $this->read_ushort();
1590 $Lookup[$i]['Subtable'][$c]['LookaheadClassDefOffset'] = $Lookup[$i]['Subtable'][$c]['Offset'] + $this->read_ushort();
1591 $Lookup[$i]['Subtable'][$c]['ChainSubClassSetCnt'] = $this->read_ushort();
1593 $offset = $this->read_ushort();
1603 $Lookup[$i]['Subtable'][$c]['BacktrackGlyphCount'] = $this->read_ushort();
1605 $Lookup[$i]['Subtable'][$c]['CoverageBacktrack'][] = $Lookup[$i]['Subtable'][$c]['Offset'] + $this->read_ushort();
1607 $Lookup[$i]['Subtable'][$c]['InputGlyphCount'] = $this->read_ushort();
1609 $Lookup[$i]['Subtable'][$c]['CoverageInput'][] = $Lookup[$i]['Subtable'][$c]['Offset'] + $this->read_ushort();
1611 $Lookup[$i]['Subtable'][$c]['LookaheadGlyphCount'] = $this->read_ushort();
1613 $Lookup[$i]['Subtable'][$c]['CoverageLookahead'][] = $Lookup[$i]['Subtable'][$c]['Offset'] + $this->read_ushort();
1615 $Lookup[$i]['Subtable'][$c]['SubstCount'] = $this->read_ushort();
1617 $Lookup[$i]['Subtable'][$c]['SubstLookupRecord'][$b]['SequenceIndex'] = $this->read_ushort();
1618 $Lookup[$i]['Subtable'][$c]['SubstLookupRecord'][$b]['LookupListIndex'] = $this->read_ushort();
1773 $Lookup[$i]['Subtable'][$c]['SubClassSet'][$s]['SubClassRuleCnt'] = $SubClassRuleCnt = $this->read_ushort();
1776 $SubClassRule[$b] = $Lookup[$i]['Subtable'][$c]['SubClassSetOffset'][$s] + $this->read_ushort();
1788 $Rule['InputGlyphCount'] = $this->read_ushort();
1789 $Rule['SubstCount'] = $this->read_ushort();
1791 $Rule['Input'][$r] = $this->read_ushort();
1794 $Rule['SequenceIndex'][$r] = $this->read_ushort();
1795 $Rule['LookupListIndex'][$r] = $this->read_ushort();
1826 $ChainSubRuleCnt = $Lookup[$i]['Subtable'][$c]['ChainSubRuleSet'][$s]['ChainSubRuleCount'] = $this->read_ushort();
1828 $Lookup[$i]['Subtable'][$c]['ChainSubRuleSet'][$s]['ChainSubRuleOffset'][$r] = $Lookup[$i]['Subtable'][$c]['ChainSubRuleSetOffset'][$s] + $this->read_ushort();
1837 $BacktrackGlyphCount = $Lookup[$i]['Subtable'][$c]['ChainSubRuleSet'][$s]['ChainSubRule'][$r]['BacktrackGlyphCount'] = $this->read_ushort();
1839 $glyphID = $this->read_ushort();
1843 $InputGlyphCount = $Lookup[$i]['Subtable'][$c]['ChainSubRuleSet'][$s]['ChainSubRule'][$r]['InputGlyphCount'] = $this->read_ushort();
1845 $glyphID = $this->read_ushort();
1849 $LookaheadGlyphCount = $Lookup[$i]['Subtable'][$c]['ChainSubRuleSet'][$s]['ChainSubRule'][$r]['LookaheadGlyphCount'] = $this->read_ushort();
1851 $glyphID = $this->read_ushort();
1855 $SubstCount = $Lookup[$i]['Subtable'][$c]['ChainSubRuleSet'][$s]['ChainSubRule'][$r]['SubstCount'] = $this->read_ushort();
1857 $Lookup[$i]['Subtable'][$c]['ChainSubRuleSet'][$s]['ChainSubRule'][$r]['SequenceIndex'][$lu] = $this->read_ushort();
1858 $Lookup[$i]['Subtable'][$c]['ChainSubRuleSet'][$s]['ChainSubRule'][$r]['LookupListIndex'][$lu] = $this->read_ushort();
1880 $Lookup[$i]['Subtable'][$c]['ChainSubClassSet'][$s]['ChainSubClassRuleCnt'] = $ChainSubClassRuleCnt = $this->read_ushort();
1883 $ChainSubClassRule[$b] = $Lookup[$i]['Subtable'][$c]['ChainSubClassSetOffset'][$s] + $this->read_ushort();
1895 $Rule['BacktrackGlyphCount'] = $this->read_ushort();
1897 $Rule['Backtrack'][$r] = $this->read_ushort();
1899 $Rule['InputGlyphCount'] = $this->read_ushort();
1901 $Rule['Input'][$r] = $this->read_ushort();
1903 $Rule['LookaheadGlyphCount'] = $this->read_ushort();
1905 $Rule['Lookahead'][$r] = $this->read_ushort();
1907 $Rule['SubstCount'] = $this->read_ushort();
1909 $Rule['SequenceIndex'][$r] = $this->read_ushort();
1910 $Rule['LookupListIndex'][$r] = $this->read_ushort();
2946 $CoverageFormat = $this->read_ushort();
2948 $CoverageGlyphCount = $this->read_ushort();
2950 $glyphID = $this->read_ushort();
2959 $RangeCount = $this->read_ushort();
2961 $start = $this->read_ushort();
2962 $end = $this->read_ushort();
2963 $StartCoverageIndex = $this->read_ushort(); // n/a
2982 $ClassFormat = $this->read_ushort();
2985 $StartGlyph = $this->read_ushort();
2986 $GlyphCount = $this->read_ushort();
2990 $class = $this->read_ushort();
2999 $tableCount = $this->read_ushort();
3001 $startGlyphID = $this->read_ushort();
3002 $endGlyphID = $this->read_ushort();
3003 $class = $this->read_ushort();
3035 $ScriptList_offset = $gpos_offset + $this->read_ushort();
3036 $FeatureList_offset = $gpos_offset + $this->read_ushort();
3037 $LookupList_offset = $gpos_offset + $this->read_ushort();
3041 $ScriptCount = $this->read_ushort();
3044 $ScriptTableOffset = $this->read_ushort();
3052 $DefLangSys_offset = $this->read_ushort();
3056 $LangSysCount = $this->read_ushort();
3059 $LangTableOffset = $this->read_ushort();
3072 $LookUpOrder = $this->read_ushort(); //==NULL
3073 $ReqFeatureIndex = $this->read_ushort();
3077 $FeatureCount = $this->read_ushort();
3079 $FeatureIndex[] = $this->read_ushort(); // = index of feature
3087 $FeatureCount = $this->read_ushort();
3091 $Feature[$i]['offset'] = $FeatureList_offset + $this->read_ushort();
3095 $this->read_ushort(); // null
3096 $Feature[$i]['LookupCount'] = $Lookupcount = $this->read_ushort();
3099 $Feature[$i]['LookupListIndex'][] = $this->read_ushort();
3158 $LookupCount = $this->read_ushort();
3163 $Offsets[$i] = $LookupList_offset + $this->read_ushort();
3167 $Lookup[$i]['Type'] = $this->read_ushort();
3168 $Lookup[$i]['Flag'] = $flag = $this->read_ushort();
3169 $Lookup[$i]['SubtableCount'] = $SubtableCount[$i] = $this->read_ushort();
3171 $Lookup[$i]['Subtables'][$c] = $Offsets[$i] + $this->read_ushort();
3175 $Lookup[$i]['MarkFilteringSet'] = $this->read_ushort();
3183 $ExtensionPosFormat = $this->read_ushort();
3184 $type = $this->read_ushort();
3258 $PosFormat = $this->read_ushort();
3269 $Coverage = $subtable_offset + $this->read_ushort();
3270 $ValueFormat = $this->read_ushort();
3315 $Coverage = $subtable_offset + $this->read_ushort();
3316 $ValueFormat = $this->read_ushort();
3317 $ValueCount = $this->read_ushort();
3370 $Coverage = $subtable_offset + $this->read_ushort();
3371 $ValueFormat1 = $this->read_ushort();
3372 $ValueFormat2 = $this->read_ushort();
3377 $PairSetCount = $this->read_ushort();
3380 $PairSetOffset[] = $subtable_offset + $this->read_ushort();
3395 $PairValueCount = $this->read_ushort();
3398 $gid = $this->read_ushort();
3447 $ClassDef1 = $subtable_offset + $this->read_ushort();
3448 $ClassDef2 = $subtable_offset + $this->read_ushort();
3449 $Class1Count = $this->read_ushort();
3450 $Class2Count = $this->read_ushort();
3541 $Coverage = $subtable_offset + $this->read_ushort();
3542 $EntryExitCount = $this->read_ushort();
3546 $EntryAnchors[$i] = $this->read_ushort();
3547 $ExitAnchors[$i] = $this->read_ushort();
3594 $MarkCoverage = $subtable_offset + $this->read_ushort();
3595 $BaseCoverage = $subtable_offset + $this->read_ushort();
3638 $MarkCoverage = $subtable_offset + $this->read_ushort();
3640 $LigatureCoverage = $subtable_offset + $this->read_ushort();
3641 $ClassCount = $this->read_ushort(); // Number of classes defined for marks = Number of mark glyphs in the MarkCoverage table
3642 $MarkArray = $subtable_offset + $this->read_ushort(); // Offset to MarkArray table
3643 $LigatureArray = $subtable_offset + $this->read_ushort(); // Offset to LigatureArray table
3672 $LigatureCount = $this->read_ushort();
3677 $LigatureAttach[$j] = $LigatureArray + $this->read_ushort();
3689 $ComponentCount = $this->read_ushort();
3695 $offset = $this->read_ushort();
3713 $Mark1Coverage = $subtable_offset + $this->read_ushort(); // Combining Mark
3715 $Mark2Coverage = $subtable_offset + $this->read_ushort(); // Base Mark
3716 $ClassCount = $this->read_ushort(); // Number of classes defined for marks = No. of Combining mark1 glyphs in the MarkCoverage table
3803 $BacktrackGlyphCount = $this->read_ushort();
3806 $CoverageBacktrackOffset[] = $subtable_offset + $this->read_ushort(); // in glyph sequence order
3808 $InputGlyphCount = $this->read_ushort();
3811 $CoverageInputOffset[] = $subtable_offset + $this->read_ushort(); // in glyph sequence order
3813 $LookaheadGlyphCount = $this->read_ushort();
3816 $CoverageLookaheadOffset[] = $subtable_offset + $this->read_ushort(); // in glyph sequence order
3818 $PosCount = $this->read_ushort();
3823 $PosLookupRecord[$p]['SequenceIndex'] = $this->read_ushort();
3824 $PosLookupRecord[$p]['LookupListIndex'] = $this->read_ushort();
3961 $this->read_ushort();
3965 $this->read_ushort();
3969 $this->read_ushort();
3973 $this->read_ushort();
3984 $AnchorFormat = $this->read_ushort();
3995 $MarkCount = $this->read_ushort();
3997 $Class = $this->read_ushort();
3998 $MarkAnchor = $offset + $this->read_ushort(); // = Offset to anchor table
4039 $flags = $this->read_ushort();
4041 $glyphIdx = $this->read_ushort();
4093 $aw = $this->read_ushort();
4094 $lsb = $this->read_ushort();
4192 $length = $this->read_ushort();
4196 $segCount = $this->read_ushort() / 2;
4200 $endCount[] = $this->read_ushort();
4205 $startCount[] = $this->read_ushort();
4214 $idRangeOffset[] = $this->read_ushort();