Lines Matching refs:seqIndex

2496 									$seqIndex = $rule['SubstLookupRecord'][$b]['SequenceIndex'];
2508 if (strpos($inputGlyphs[$seqIndex], $lookupGlyphs[0]) === false) {
2515 $subRule['rules'][] = ['type' => $Lookup[$lup]['Type'], 'match' => $lookupGlyphs, 'replace' => $luss['substitute'], 'seqIndex' => $seqIndex, 'key' => $lookupGlyphs[0],];
2559 $seqIndex = $rule['SequenceIndex'][$b];
2571 if (strpos($inputGlyphs[$seqIndex], $lookupGlyphs[0]) === false) {
2576 $contextInputMatch = $this->_makeGSUBcontextInputMatch($inputGlyphs, $ignore, $lookupGlyphs, $seqIndex);
2583 $subRule['rules'][] = ['type' => $Lookup[$lup]['Type'], 'match' => $lookupGlyphs, 'replace' => $luss['substitute'], 'seqIndex' => $seqIndex, 'key' => $lookupGlyphs[0],];
2629 $seqIndex = $Lookup[$i]['Subtable'][$c]['SubstLookupRecord'][$b]['SequenceIndex'];
2639 if (strpos($inputGlyphs[$seqIndex], $lookupGlyphs[0]) === false) {
2644 $contextInputMatch = $this->_makeGSUBcontextInputMatch($inputGlyphs, $ignore, $lookupGlyphs, $seqIndex);
2650 $subRule['rules'][] = ['type' => $Lookup[$lup]['Type'], 'match' => $lookupGlyphs, 'replace' => $luss['substitute'], 'seqIndex' => $seqIndex, 'key' => $lookupGlyphs[0],];
2706 $seqIndex = $rule['SequenceIndex'][$b];
2718 if (strpos($inputGlyphs[$seqIndex], $lookupGlyphs[0]) === false) {
2723 $contextInputMatch = $this->_makeGSUBcontextInputMatch($inputGlyphs, $ignore, $lookupGlyphs, $seqIndex);
2730 $subRule['rules'][] = ['type' => $Lookup[$lup]['Type'], 'match' => $lookupGlyphs, 'replace' => $luss['substitute'], 'seqIndex' => $seqIndex, 'key' => $lookupGlyphs[0],];
2822 $seqIndex = $rule['SequenceIndex'][$b];
2834 if (strpos($inputGlyphs[$seqIndex], $lookupGlyphs[0]) === false) {
2839 $contextInputMatch = $this->_makeGSUBcontextInputMatch($inputGlyphs, $ignore, $lookupGlyphs, $seqIndex);
2846 $subRule['rules'][] = ['type' => $Lookup[$lup]['Type'], 'match' => $lookupGlyphs, 'replace' => $luss['substitute'], 'seqIndex' => $seqIndex, 'key' => $lookupGlyphs[0],];
2889 $seqIndex = $Lookup[$i]['Subtable'][$c]['SubstLookupRecord'][$b]['SequenceIndex'];
2899 if (strpos($inputGlyphs[$seqIndex], $lookupGlyphs[0]) === false) {
2904 $contextInputMatch = $this->_makeGSUBcontextInputMatch($inputGlyphs, $ignore, $lookupGlyphs, $seqIndex);
2910 $subRule['rules'][] = ['type' => $Lookup[$lup]['Type'], 'match' => $lookupGlyphs, 'replace' => $luss['substitute'], 'seqIndex' => $seqIndex, 'key' => $lookupGlyphs[0],];
3065 function _makeGSUBcontextInputMatch($inputGlyphs, $ignore, $lookupGlyphs, $seqIndex)
3078 if ($i >= $seqIndex && $i < ($seqIndex + $mLen)) {
3079 $str .= "(" . $lookupGlyphs[($i - $seqIndex)] . ")";
3135 function _makeGSUBinputReplacement($nInput, $REPL, $ignore, $nBsubs, $mLen, $seqIndex)
3143 // $seqIndex Sequence Index to apply the secondary match
3162 for ($x = 1; $x < ($seqIndex + 1); $x++) {
3172 if ($seqIndex > 0) {
3177 for ($x = (max(($seqIndex + 1), 2)); $x < ($seqIndex + 1 + $mLen); $x++) { // move IGNORES after replacement
3181 for ($x = ($seqIndex + 1 + $mLen); $x <= $nInput; $x++) {