Lines Matching defs:lookupGlyphs

2502 												$lookupGlyphs = $luss['Replace'];
2503 $mLen = count($lookupGlyphs);
2508 if (strpos($inputGlyphs[$seqIndex], $lookupGlyphs[0]) === false) {
2513 $volt[] = ['match' => $lookupGlyphs[0], 'replace' => $REPL, 'tag' => $tag, 'prel' => $backtrackGlyphs, 'postl' => $lookaheadGlyphs, 'ignore' => $ignore];
2515 $subRule['rules'][] = ['type' => $Lookup[$lup]['Type'], 'match' => $lookupGlyphs, 'replace' => $luss['substitute'], 'seqIndex' => $seqIndex, 'key' => $lookupGlyphs[0],];
2565 $lookupGlyphs = $luss['Replace'];
2566 $mLen = count($lookupGlyphs);
2571 if (strpos($inputGlyphs[$seqIndex], $lookupGlyphs[0]) === false) {
2576 $contextInputMatch = $this->_makeGSUBcontextInputMatch($inputGlyphs, $ignore, $lookupGlyphs, $seqIndex);
2581 $volt[] = ['match' => $lookupGlyphs[0], 'replace' => $REPL, 'tag' => $tag, 'prel' => $backtrackGlyphs, 'postl' => $lookaheadGlyphs, 'ignore' => $ignore];
2583 $subRule['rules'][] = ['type' => $Lookup[$lup]['Type'], 'match' => $lookupGlyphs, 'replace' => $luss['substitute'], 'seqIndex' => $seqIndex, 'key' => $lookupGlyphs[0],];
2633 $lookupGlyphs = $luss['Replace'];
2634 $mLen = count($lookupGlyphs);
2639 if (strpos($inputGlyphs[$seqIndex], $lookupGlyphs[0]) === false) {
2644 $contextInputMatch = $this->_makeGSUBcontextInputMatch($inputGlyphs, $ignore, $lookupGlyphs, $seqIndex);
2648 $volt[] = ['match' => $lookupGlyphs[0], 'replace' => $REPL, 'tag' => $tag, 'prel' => $backtrackGlyphs, 'postl' => $lookaheadGlyphs, 'ignore' => $ignore];
2650 $subRule['rules'][] = ['type' => $Lookup[$lup]['Type'], 'match' => $lookupGlyphs, 'replace' => $luss['substitute'], 'seqIndex' => $seqIndex, 'key' => $lookupGlyphs[0],];
2712 $lookupGlyphs = $luss['Replace'];
2713 $mLen = count($lookupGlyphs);
2718 if (strpos($inputGlyphs[$seqIndex], $lookupGlyphs[0]) === false) {
2723 $contextInputMatch = $this->_makeGSUBcontextInputMatch($inputGlyphs, $ignore, $lookupGlyphs, $seqIndex);
2728 $volt[] = ['match' => $lookupGlyphs[0], 'replace' => $REPL, 'tag' => $tag, 'prel' => $backtrackGlyphs, 'postl' => $lookaheadGlyphs, 'ignore' => $ignore];
2730 $subRule['rules'][] = ['type' => $Lookup[$lup]['Type'], 'match' => $lookupGlyphs, 'replace' => $luss['substitute'], 'seqIndex' => $seqIndex, 'key' => $lookupGlyphs[0],];
2828 $lookupGlyphs = $luss['Replace'];
2829 $mLen = count($lookupGlyphs);
2834 if (strpos($inputGlyphs[$seqIndex], $lookupGlyphs[0]) === false) {
2839 $contextInputMatch = $this->_makeGSUBcontextInputMatch($inputGlyphs, $ignore, $lookupGlyphs, $seqIndex);
2844 $volt[] = ['match' => $lookupGlyphs[0], 'replace' => $REPL, 'tag' => $tag, 'prel' => $backtrackGlyphs, 'postl' => $lookaheadGlyphs, 'ignore' => $ignore];
2846 $subRule['rules'][] = ['type' => $Lookup[$lup]['Type'], 'match' => $lookupGlyphs, 'replace' => $luss['substitute'], 'seqIndex' => $seqIndex, 'key' => $lookupGlyphs[0],];
2893 $lookupGlyphs = $luss['Replace'];
2894 $mLen = count($lookupGlyphs);
2899 if (strpos($inputGlyphs[$seqIndex], $lookupGlyphs[0]) === false) {
2904 $contextInputMatch = $this->_makeGSUBcontextInputMatch($inputGlyphs, $ignore, $lookupGlyphs, $seqIndex);
2908 $volt[] = ['match' => $lookupGlyphs[0], 'replace' => $REPL, 'tag' => $tag, 'prel' => $backtrackGlyphs, 'postl' => $lookaheadGlyphs, 'ignore' => $ignore];
2910 $subRule['rules'][] = ['type' => $Lookup[$lup]['Type'], 'match' => $lookupGlyphs, 'replace' => $luss['substitute'], 'seqIndex' => $seqIndex, 'key' => $lookupGlyphs[0],];
3065 function _makeGSUBcontextInputMatch($inputGlyphs, $ignore, $lookupGlyphs, $seqIndex)
3070 // $lookupGlyphs = array of glyphs (single Glyphs) making up Lookup Input sequence
3071 $mLen = count($lookupGlyphs); // nGlyphs in the secondary Lookup match
3079 $str .= "(" . $lookupGlyphs[($i - $seqIndex)] . ")";
3093 // $lookupGlyphs = array of glyphs making up Lookup Input sequence - if applicable