Lines Matching refs:gid

848 			for ($gid = 1; $gid < $numGlyphs; $gid++) {
849 if (!isset($glyphToChar[$gid])) {
864 $glyphToChar[$gid][] = $bctr;
865 $charToGlyph[$bctr] = $gid;
883 foreach ($glyphToChar as $gid => $arr) {
884 if (isset($glyphToChar[$gid][0])) {
885 $char = $glyphToChar[$gid][0];
887 $this->glyphIDtoUni[$gid * 3] = chr($char >> 16);
888 $this->glyphIDtoUni[$gid * 3 + 1] = chr(($char >> 8) & 0xFF);
889 $this->glyphIDtoUni[$gid * 3 + 2] = chr($char & 0xFF);
1150 $gid = $StartGlyph + $i;
1152 $GlyphByClass[$class][] = unicode_hex($this->glyphToChar[$gid][0]);
1161 for ($gid = $startGlyphID; $gid <= $endGlyphID; $gid++) {
1162 $GlyphByClass[$class][] = unicode_hex($this->glyphToChar[$gid][0]);
1700 $gid = $Lookup[$i]['Subtable'][$c]['AlternateSets'][$g]['SubstituteGlyphID'][$gl];
1701 $substitute[] = unicode_hex($this->glyphToChar[$gid][0]);
1704 //$gid = $Lookup[$i]['Subtable'][$c]['AlternateSets'][$g]['SubstituteGlyphID'][0];
1705 //$substitute[] = unicode_hex($this->glyphToChar[$gid][0]);
1729 $gid = $Lookup[$i]['Subtable'][$c]['LigSet'][$s]['Ligature'][$g]['GlyphID'][$l];
1730 $rpl = unicode_hex($this->glyphToChar[$gid][0]);
1737 $gid = $Lookup[$i]['Subtable'][$c]['LigSet'][$s]['Ligature'][$g]['LigGlyph'];
1738 $substitute[] = unicode_hex($this->glyphToChar[$gid][0]);
2949 for ($gid = 0; $gid < $CoverageGlyphCount; $gid++) {
2964 for ($gid = $start; $gid <= $end; $gid++) {
2965 $glyphID = $gid;
3398 $gid = $this->read_ushort();
3399 $SecondGlyph = unicode_hex($this->glyphToChar[$gid][0]);
4148 function getHMetric($numberOfHMetrics, $gid)
4151 if ($gid < $numberOfHMetrics) {
4152 $this->seek($start + ($gid * 4));
4157 $this->seek($start + ($numberOfHMetrics * 2) + ($gid * 2));