Lines Matching defs:to

32 	/* Visual positions in a syllable from left to right. */
84 // Based on indic_category used to make string to find syllables
85 // OT_ to string character (using e.g. OT_C from INDIC) hb-ot-shape-complex-indic-private.hh
131 } /* Khmer Bindu doesn't like to be repositioned. */
165 * We recategorize the first kind to look like a Nukta and attached to the base directly.
443 * form (post-base forms have to follow below-base forms), or that is not a
496 * (post-base forms have to follow below-base forms), */
581 * Each matra and any syllable modifier sign in the cluster are moved to the
582 * appropriate position relative to the consonant(s) in the cluster. The
585 * consonant in a conjunct they have affinity for and are reordered to the
596 * need to worry about that.
600 /* 3. Reorder marks to canonical order:
607 * Use the combining Class from Unicode categories? to bubble_sort.
654 /* Move Halant to after last consonant. */
662 /* Attach misc marks to previous char to move with them. */
672 * U+0DDA split matra since it decomposes to U+0DD9,U+0DCA
674 * We don't want to move the virama with the left matra.
689 /* Re-attach ZWJ, ZWNJ, and halant to next char, for after-base consonants. */
824 * "The feature 'below-base form' is applied to consonants
828 * form' will be applied to all such occurrences of Ra as well."
833 * However, note that Ra,Halant,ZWJ is the correct way to
873 // ZWNJ should block H C from forming blwf post-base - need to unmask backwards beyond first consonant arrived at //
918 * reordering before applying all the remaining font features to the entire
942 * features, the glyph can be moved closer to the main consonant based on
956 * We want to position matra after them.
965 * not belong to the Matra itself! */
998 * it will be reordered according to the basic-forms shaping results.
1003 /* If there's anything after the Ra that has the REPH pos, it ought to be halant.
1004 * Which means that the font has failed to ligate the Reph. In which case, we
1013 * proceed to step 5.
1024 * proceed to the next step.
1067 /* This is our take on what step 4 is trying to say (and failing, BADLY). */
1079 /* 5. If no consonant is found in steps 3 or 4, move reph to a position
1103 /* 6. Otherwise, reorder reph to the end of the syllable.
1112 * If the Reph is to be ending up after a Matra,Halant sequence,
1141 * If a pre-base reordering consonant is found, reorder it according to
1153 // ??? Need to TEST if actual substitution has occurred
1156 * 2. Try to find a target position the same way as for pre-base matra.
1165 * We want to position matra after them.
1174 * split matra, it should be reordered to *before* the left part of such matra. */
1207 /* Apply 'init' to the Left Matra if it's a word start. */
1221 public static function _move_info_pos(&$info, $from, $to)
1225 if ($from > $to) {
1227 array_splice($info, $to, 0, $t);
1229 array_splice($info, $to, 0, $t);
1765 // vowel matras that have to be split into two parts.
1854 // e.g. if (isset($GSUBdata['pstf'][$ab])) - would need to pass $GSUBdata as parameter to this function