src/hb-ot-shape-complex-indic.cc |   16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

New commits:
commit 0dc03ef75724376927a7d63b991508c2901fcdf9
Author: Nathan Willis <nwil...@glyphography.com>
Date:   Tue Dec 5 17:43:09 2017 +0000

    Indic: always hyphenate pre-base-reordering, for clarity.

diff --git a/src/hb-ot-shape-complex-indic.cc b/src/hb-ot-shape-complex-indic.cc
index 7d0e7c5a..97d6d382 100644
--- a/src/hb-ot-shape-complex-indic.cc
+++ b/src/hb-ot-shape-complex-indic.cc
@@ -714,7 +714,7 @@ initial_reordering_consonant_syllable (const 
hb_ot_shape_plan_t *plan,
    * following algorithm: starting from the end of the syllable, move backwards
    * until a consonant is found that does not have a below-base or post-base
    * form (post-base forms have to follow below-base forms), or that is not a
-   * pre-base reordering Ra, or arrive at the first consonant. The consonant
+   * pre-base-reordering Ra, or arrive at the first consonant. The consonant
    * stopped at will be the base.
    *
    *   o If the syllable starts with Ra + Halant (in a script that has Reph)
@@ -785,11 +785,11 @@ initial_reordering_consonant_syllable (const 
hb_ot_shape_plan_t *plan,
            if (info[i].indic_position() == POS_BELOW_C)
              seen_below = true;
 
-           /* -> or that is not a pre-base reordering Ra,
+           /* -> or that is not a pre-base-reordering Ra,
             *
             * IMPLEMENTATION NOTES:
             *
-            * Our pre-base reordering Ra's are marked POS_POST_C, so will be 
skipped
+            * Our pre-base-reordering Ra's are marked POS_POST_C, so will be 
skipped
             * by the logic above already.
             */
 
@@ -1124,7 +1124,7 @@ initial_reordering_consonant_syllable (const 
hb_ot_shape_plan_t *plan,
   unsigned int pref_len = 2;
   if (indic_plan->mask_array[PREF] && base + pref_len < end)
   {
-    /* Find a Halant,Ra sequence and mark it for pre-base reordering 
processing. */
+    /* Find a Halant,Ra sequence and mark it for pre-base-reordering 
processing. */
     for (unsigned int i = base + 1; i + pref_len - 1 < end; i++) {
       hb_codepoint_t glyphs[2];
       for (unsigned int j = 0; j < pref_len; j++)
@@ -1518,7 +1518,7 @@ final_reordering_syllable (const hb_ot_shape_plan_t *plan,
 
     /*       3. If reph should be repositioned after the main consonant: find 
the
      *          first consonant not ligated with main, or find the first
-     *          consonant that is not a potential pre-base reordering Ra.
+     *          consonant that is not a potential pre-base-reordering Ra.
      */
     if (reph_pos == REPH_POS_AFTER_MAIN)
     {
@@ -1607,13 +1607,13 @@ final_reordering_syllable (const hb_ot_shape_plan_t 
*plan,
   }
 
 
-  /*   o Reorder pre-base reordering consonants:
+  /*   o Reorder pre-base-reordering consonants:
    *
-   *     If a pre-base reordering consonant is found, reorder it according to
+   *     If a pre-base-reordering consonant is found, reorder it according to
    *     the following rules:
    */
 
-  if (try_pref && base + 1 < end) /* Otherwise there can't be any pre-base 
reordering Ra. */
+  if (try_pref && base + 1 < end) /* Otherwise there can't be any 
pre-base-reordering Ra. */
   {
     for (unsigned int i = base + 1; i < end; i++)
       if ((info[i].mask & indic_plan->mask_array[PREF]) != 0)
_______________________________________________
HarfBuzz mailing list
HarfBuzz@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/harfbuzz

Reply via email to