Lines Matching defs:substitute

531 					// If space precedes a mark -> substitute a   before the Mark, to prevent line breaking Test:
1518 // Check to substitute Halant-Consonant in PREF, BLWF or PSTF
1568 // Check to substitute Halant-Consonant in PREF, BLWF or PSTF
1600 $substitute = $this->glyphToChar($LigGlyph);
1624 $shift = $this->GSUBsubstitute($ptr, $substitute, 4, $GlyphPos); // GlyphPos contains positions to set null
1668 $substitute = $this->glyphToChar($GlyphID);
1669 $shift = $this->GSUBsubstitute($ptr, $substitute, $Type);
1744 $substitute = $this->glyphToChar($GlyphID);
1745 $shift = $this->GSUBsubstitute($ptr, $substitute, $Type);
1780 $substitute = $this->glyphToChar($LigGlyph);
1807 $shift = $this->GSUBsubstitute($ptr, $substitute, $Type, $GlyphPos); // GlyphPos contains positions to set null
2372 // Any position lpos or mpos > $pos + count($substitute)
2419 function GSUBsubstitute($pos, $substitute, $Type, $GlyphPos = null)
2425 $this->OTLdata[$pos]['uni'] = $substitute;
2426 $this->OTLdata[$pos]['hex'] = $this->unicode_hex($substitute);
2430 for ($i = 0; $i < count($substitute); $i++) {
2431 $uni = $substitute[$i];
2475 $newOTLdata[count($substitute) - 1]['wordend'] = true;
2481 // count($substitute)-1 is the number of glyphs added
2482 $nadd = count($substitute) - 1;
2484 return count($substitute);
2618 // $bt = Ucdn::get_bidi_class($substitute);
2623 if (strpos($this->GlyphClassMarks, $this->unicode_hex($substitute)) !== false) {
2625 } elseif ($substitute == 32) {
2648 $newOTLdata[0]['uni'] = $substitute;
2649 $newOTLdata[0]['hex'] = $this->unicode_hex($substitute);