[Indic] Disable conjuncts when a ZWJ happens
authorBehdad Esfahbod <behdad@behdad.org>
Fri, 11 May 2012 09:17:23 +0000 (11:17 +0200)
committerBehdad Esfahbod <behdad@behdad.org>
Fri, 11 May 2012 09:17:23 +0000 (11:17 +0200)
Not that the code makes any difference since the presence of ZWJ itself
causes the ligature to fail to match anyway.

src/hb-ot-shape-complex-indic.cc

index e3f78ce..e96dd78 100644 (file)
@@ -406,12 +406,7 @@ initial_reordering_consonant_syllable (const hb_ot_map_t *map, hb_buffer_t *buff
       do {
        j--;
 
-       /* Reading the Unicode and OpenType specs, I think the following line
-        * is correct, but this is not what the test suite expects currently.
-        * The test suite has been drinking, not me...  But disable while
-        * investigating.
-        */
-       //info[j].mask &= ~mask_array[CJCT];
+       info[j].mask &= ~mask_array[CJCT];
        if (non_joiner)
          info[j].mask &= ~mask_array[HALF];