Lines Matching defs:glyphToChar

206 	public $glyphToChar;
615 $glyphToChar = [];
617 $this->getCMAP4($unicode_cmap_offset, $glyphToChar, $charToGlyph);
626 if (!isset($glyphToChar[$gid])) {
633 $glyphToChar[$gid][] = $bctr;
1068 $glyphToChar = [];
1088 $glyphToChar[$glyph][] = $unichar;
1093 $glyphToChar = [];
1095 $this->getCMAP4($unicode_cmap_offset, $glyphToChar, $charToGlyph);
1107 if (!isset($glyphToChar[$gid])) {
1127 $glyphToChar[$gid][] = $bctr;
1135 $this->glyphToChar = $glyphToChar;
1144 foreach ($glyphToChar as $gid => $arr) {
1145 if (isset($glyphToChar[$gid][0])) {
1146 $char = $glyphToChar[$gid][0];
1201 $this->getHMTX($numberOfHMetrics, $numGlyphs, $glyphToChar, $scale);
1222 if (isset($glyphToChar[$left]) && count($glyphToChar[$left]) == 1 && isset($glyphToChar[$right]) && count($glyphToChar[$right]) == 1) {
1224 $this->kerninfo[$glyphToChar[$left][0]][$glyphToChar[$right][0]] = intval($val * $scale);
1408 // Freeserif does not have $this->glyphToChar[0] allocated and would throw an error, so check if isset:
1409 if (isset($this->glyphToChar[$gid][0])) {
1410 $GlyphByClass[$class][] = unicode_hex($this->glyphToChar[$gid][0]);
1420 if (isset($this->glyphToChar[$gid][0])) {
1421 $GlyphByClass[$class][] = unicode_hex($this->glyphToChar[$gid][0]);
1864 $replace[] = unicode_hex($this->glyphToChar[$glyphs[$g]][0]);
1870 $substitute[] = unicode_hex($this->glyphToChar[($glyphs[$g] + $Lookup[$i]['Subtable'][$c]['DeltaGlyphID'])][0]);
1872 $substitute[] = unicode_hex($this->glyphToChar[($Lookup[$i]['Subtable'][$c]['Glyphs'][$g])][0]);
1892 $substitute[] = unicode_hex($this->glyphToChar[$sub][0]);
1909 if (!isset($this->glyphToChar[$gid][0])) {
1912 $substitute[] = unicode_hex($this->glyphToChar[$gid][0]);
1931 $rpl = unicode_hex($this->glyphToChar[$gid][0]);
1939 if (!isset($this->glyphToChar[$gid][0])) {
1942 $substitute[] = unicode_hex($this->glyphToChar[$gid][0]);
1960 $Lookup[$i]['Subtable'][$c]['SubRuleSet'][$s]['SubRule'][$r]['InputGlyphs'][$g] = unicode_hex($this->glyphToChar[$glyphID][0]);
2037 $Lookup[$i]['Subtable'][$c]['ChainSubRuleSet'][$s]['ChainSubRule'][$r]['BacktrackGlyphs'][$g] = unicode_hex($this->glyphToChar[$glyphID][0]);
2043 $Lookup[$i]['Subtable'][$c]['ChainSubRuleSet'][$s]['ChainSubRule'][$r]['InputGlyphs'][$g] = unicode_hex($this->glyphToChar[$glyphID][0]);
2049 $Lookup[$i]['Subtable'][$c]['ChainSubRuleSet'][$s]['ChainSubRule'][$r]['LookaheadGlyphs'][$g] = unicode_hex($this->glyphToChar[$glyphID][0]);
3202 $uni = $this->glyphToChar[$glyphID][0];
3220 $uni = $this->glyphToChar[$glyphID][0];
3249 if (isset($this->glyphToChar[$g][0])) {
3250 $GlyphByClass[$class][] = unicode_hex($this->glyphToChar[$g][0]);
3261 if ($this->glyphToChar[$g][0]) {
3262 $GlyphByClass[$class][] = unicode_hex($this->glyphToChar[$g][0]);
3537 $glyphToChar = [];
3539 $this->getCMAP4($unicode_cmap_offset, $glyphToChar, $charToGlyph);
3545 if (!isset($glyphToChar[$gid])) {
3552 $glyphToChar[$gid][] = $bctr;
3560 $this->glyphToChar = $glyphToChar;
3564 $this->getHMTX($numberOfHMetrics, $numGlyphs, $glyphToChar, $scale);
4049 $glyphToChar = [];
4063 $glyphToChar[$glyph][] = $unichar;
4068 $glyphToChar = [];
4070 $this->getCMAP4($unicode_cmap_offset, $glyphToChar, $charToGlyph);
4077 if (!isset($glyphToChar[$gid])) {
4088 $glyphToChar[$gid][] = $bctr;
4098 $this->getHMTX($numberOfHMetrics, $numGlyphs, $glyphToChar, $scale);
4523 function getHMTX($numberOfHMetrics, $numGlyphs, &$glyphToChar, $scale)
4553 if (isset($glyphToChar[$glyph]) || $glyph == 0) {
4565 foreach ($glyphToChar[$glyph] as $char) {
4590 if (isset($glyphToChar[$glyph])) {
4591 foreach ($glyphToChar[$glyph] as $char) {
4649 function getCMAP4($unicode_cmap_offset, &$glyphToChar, &$charToGlyph)
4706 $glyphToChar[$glyph][] = $unichar;
4839 $glyphToChar = [];
4841 $this->getCMAP4($unicode_cmap_offset, $glyphToChar, $charToGlyph);
4846 if (!isset($glyphToChar[$gid])) {
4853 $glyphToChar[$gid][] = $bctr;