[Indic] Ra is a consonant too
authorBehdad Esfahbod <behdad@behdad.org>
Sun, 31 Jul 2011 19:01:28 +0000 (15:01 -0400)
committerBehdad Esfahbod <behdad@behdad.org>
Sun, 31 Jul 2011 19:01:28 +0000 (15:01 -0400)
src/hb-ot-shape-complex-indic.cc

index d801cec..82c247a 100644 (file)
@@ -446,8 +446,7 @@ found_consonant_syllable (const hb_ot_map_t *map, hb_buffer_t *buffer, hb_mask_t
   do {
     i--;
     /* -> until a consonant is found */
-    if (info[i].indic_category() == OT_C)
-    //if ((FLAG (info[i].indic_category()) & (FLAG (OT_C) | FLAG (OT_Ra))))
+    if (is_consonant (info[i]))
     {
       /* -> that does not have a below-base or post-base form
        * (post-base forms have to follow below-base forms), */