Lines Matching refs:seqIndex

2171 													$seqIndex = $rule['SubstLookupRecord'][$b]['SequenceIndex'];
2173 // GENERATE exampleI[<seqIndex] .... exampleI[>seqIndex]
2176 if ($seqIndex > 0) {
2178 for ($ip = 0; $ip < $seqIndex; $ip++) {
2183 if (count($inputGlyphs) > ($seqIndex + 1)) {
2185 for ($ip = $seqIndex + 1; $ip < count($inputGlyphs); $ip++) {
2190 $html .= '<div class="sequenceIndex">Substitution Position: ' . $seqIndex . '</div>';
2196 // Pass $inputGlyphs[$seqIndex] e.g. 00636|00645|00656
2198 $html .= $this->_getGSUBarray($Lookup, $lul2, $scripttag, 2, $inputGlyphs[$seqIndex], $exB, $exL);
2246 $seqIndex = $rule['SequenceIndex'][$b];
2248 // GENERATE exampleI[<seqIndex] .... exampleI[>seqIndex]
2252 if ($seqIndex > 0) {
2254 for ($ip = 0; $ip < $seqIndex; $ip++) {
2264 if (count($inputGlyphs) > ($seqIndex + 1)) {
2266 for ($ip = $seqIndex + 1; $ip < count($inputGlyphs); $ip++) {
2276 $html .= '<div class="sequenceIndex">Substitution Position: ' . $seqIndex . '</div>';
2282 // Pass $inputGlyphs[$seqIndex] e.g. 00636|00645|00656
2284 $html .= $this->_getGSUBarray($Lookup, $lul2, $scripttag, 2, $inputGlyphs[$seqIndex], $exB, $exL);
2310 $seqIndex = $Lookup[$i]['Subtable'][$c]['SubstLookupRecord'][$b]['SequenceIndex'];
2311 // GENERATE exampleI[<seqIndex] .... exampleI[>seqIndex]
2314 if ($seqIndex > 0) {
2316 for ($ip = 0; $ip < $seqIndex; $ip++) {
2322 if (count($inputGlyphs) > ($seqIndex + 1)) {
2324 for ($ip = $seqIndex + 1; $ip < count($inputGlyphs); $ip++) {
2330 $html .= '<div class="sequenceIndex">Substitution Position: ' . $seqIndex . '</div>';
2336 // Pass $inputGlyphs[$seqIndex] e.g. 00636|00645|00656
2338 $html .= $this->_getGSUBarray($Lookup, $lul2, $scripttag, 2, $inputGlyphs[$seqIndex], $exB, $exL);
2404 $seqIndex = $rule['SequenceIndex'][$b];
2406 // GENERATE exampleB[n] exampleI[<seqIndex] .... exampleI[>seqIndex] exampleL[n]
2413 if ($seqIndex > 0) {
2415 for ($ip = 0; $ip < $seqIndex; $ip++) {
2421 if (count($inputGlyphs) > ($seqIndex + 1)) {
2423 for ($ip = $seqIndex + 1; $ip < count($inputGlyphs); $ip++) {
2433 $html .= '<div class="sequenceIndex">Substitution Position: ' . $seqIndex . '</div>';
2439 // Pass $inputGlyphs[$seqIndex] e.g. 00636|00645|00656
2441 $html .= $this->_getGSUBarray($Lookup, $lul2, $scripttag, 2, $inputGlyphs[$seqIndex], $exB, $exL);
2534 $seqIndex = $rule['SequenceIndex'][$b];
2536 // GENERATE exampleB[n] exampleI[<seqIndex] .... exampleI[>seqIndex] exampleL[n]
2543 if ($seqIndex > 0) {
2545 for ($ip = 0; $ip < $seqIndex; $ip++) {
2555 if (count($inputGlyphs) > ($seqIndex + 1)) {
2557 for ($ip = $seqIndex + 1; $ip < count($inputGlyphs); $ip++) {
2571 $html .= '<div class="sequenceIndex">Substitution Position: ' . $seqIndex . '</div>';
2577 // Pass $inputGlyphs[$seqIndex] e.g. 00636|00645|00656
2579 $html .= $this->_getGSUBarray($Lookup, $lul2, $scripttag, 2, $inputGlyphs[$seqIndex], $exB, $exL);
2626 $seqIndex = $Lookup[$i]['Subtable'][$c]['SubstLookupRecord'][$b]['SequenceIndex'];
2628 // GENERATE exampleB[n] exampleI[<seqIndex] .... exampleI[>seqIndex] exampleL[n]
2635 if ($seqIndex > 0) {
2637 for ($ip = 0; $ip < $seqIndex; $ip++) {
2643 if (count($inputGlyphs) > ($seqIndex + 1)) {
2645 for ($ip = $seqIndex + 1; $ip < count($inputGlyphs); $ip++) {
2655 $html .= '<div class="sequenceIndex">Substitution Position: ' . $seqIndex . '</div>';
2661 // Pass $inputGlyphs[$seqIndex] e.g. 00636|00645|00656
2663 $html .= $this->_getGSUBarray($Lookup, $lul2, $scripttag, 2, $inputGlyphs[$seqIndex], $exB, $exL);
2812 function _makeGSUBcontextInputMatch($inputGlyphs, $ignore, $lookupGlyphs, $seqIndex)
2825 if ($i >= $seqIndex && $i < ($seqIndex + $mLen)) {
2826 $str .= "" . $lookupGlyphs[($i - $seqIndex)] . "";
2882 function _makeGSUBinputReplacement($nInput, $REPL, $ignore, $nBsubs, $mLen, $seqIndex)
2890 // $seqIndex Sequence Index to apply the secondary match
2910 for ($x = 1; $x < ($seqIndex + 1); $x++) {
2920 if ($seqIndex > 0) {
2925 for ($x = (max(($seqIndex + 1), 2)); $x < ($seqIndex + 1 + $mLen); $x++) { // move IGNORES after replacement
2929 for ($x = ($seqIndex + 1 + $mLen); $x <= $nInput; $x++) {
3863 $seqIndex = $PosLookupRecord[$p]['SequenceIndex'];
3865 // GENERATE exampleB[n] exampleI[<seqIndex] .... exampleI[>seqIndex] exampleL[n]
3872 if ($seqIndex > 0) {
3874 for ($ip = 0; $ip < $seqIndex; $ip++) {
3880 if (count($inputGlyphs) > ($seqIndex + 1)) {
3882 for ($ip = $seqIndex + 1; $ip < count($inputGlyphs); $ip++) {
3892 $html .= '<div class="sequenceIndex">Substitution Position: ' . $seqIndex . '</div>';
3898 // Pass $inputGlyphs[$seqIndex] e.g. 00636|00645|00656
3900 $html .= $this->_getGPOSarray($Lookup, $lul2, $scripttag, 2, $inputGlyphs[$seqIndex], $exB, $exL);