Lines Matching refs:j

1100 								for ($j = ($i - 1); $j >= $nextbase; $j--) {
1101 if (isset($this->OTLdata[$j]['GPOSinfo']['YPlacement'])) {
1102 $this->OTLdata[$j]['GPOSinfo']['YPlacement'] += $incurs;
1104 $this->OTLdata[$j]['GPOSinfo']['YPlacement'] = $incurs;
1142 for ($j = ($i + 1); $j <= $nextbase; $j++) {
1143 if (isset($this->OTLdata[$j]['GPOSinfo']['YPlacement'])) {
1144 $this->OTLdata[$j]['GPOSinfo']['YPlacement'] += $incurs;
1146 $this->OTLdata[$j]['GPOSinfo']['YPlacement'] = $incurs;
3421 for ($j = 0; $j < $Class2Count; $j++) {
3422 if (isset($Class2[$j]) && count($Class2[$j])) {
3423 $SecondClassPos = array_search($SecondGlyph, $Class2[$j]);
3428 // Get ValueRecord[$i][$j]
3429 $offs = ($i * $Class2Count * $sizeOfPair) + ($j * $sizeOfPair);
4739 for ($j = $levcount; $j >= 0; $j--) {
4740 if ($chardata[$j]['type'] == Ucdn::BIDI_CLASS_AL) {
4744 } elseif (($chardata[$j]['type'] == Ucdn::BIDI_CLASS_L) || ($chardata[$j]['type'] == Ucdn::BIDI_CLASS_R)) {
4784 $j = $i + 1;
4785 while ($j < $numchars && $chardata[$j]['level'] == $chardata[$i]['level']) {
4786 if ($chardata[$j]['type'] == Ucdn::BIDI_CLASS_EN) {
4789 } elseif ($chardata[$j]['type'] != Ucdn::BIDI_CLASS_ET) {
4792 ++$j;
4813 for ($j = $i - 1; $j >= 0; $j--) {
4814 if ($chardata[$j]['level'] != $chardata[$i]['level']) { // Level run boundary
4815 if ($chardata[$j + 1]['sor'] == Ucdn::BIDI_CLASS_L) {
4816 $chardata[$i]['type'] = $chardata[$j + 1]['sor'];
4819 } elseif ($chardata[$j]['type'] == Ucdn::BIDI_CLASS_L) {
4822 } elseif ($chardata[$j]['type'] == Ucdn::BIDI_CLASS_R) {
4846 $j = $i;
4848 while (($chardata[$j]['type'] == Ucdn::BIDI_CLASS_ON || $chardata[$j]['type'] == Ucdn::BIDI_CLASS_WS) && $j <= ($numchars - 1)) {
4849 if ($j == ($numchars - 1)) { // last char
4850 $right = $chardata[($j)]['eor'];
4852 } elseif ($chardata[($j + 1)]['level'] != $chardata[($j)]['level']) { // run boundary
4853 $right = $chardata[($j)]['eor'];
4855 } elseif ($chardata[($j + 1)]['type'] == Ucdn::BIDI_CLASS_L) {
4858 } elseif ($chardata[($j + 1)]['type'] == Ucdn::BIDI_CLASS_R || $chardata[($j + 1)]['type'] == Ucdn::BIDI_CLASS_EN || $chardata[($j + 1)]['type'] == Ucdn::BIDI_CLASS_AN) {
4862 $j++;
4918 for ($j = $maxlevel; $j > 0; $j--) {
4923 if ($chardata[$i]['level'] >= $j) {
5629 for ($j = $maxlevel; $j > 0; $j--) {
5634 if ($bidiData[$i]['level'] >= $j) {