From: Behdad Esfahbod Date: Sun, 31 Jul 2011 19:01:28 +0000 (-0400) Subject: [Indic] Ra is a consonant too X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=97158392a5899ddb739afaac925128f33f699bd7;p=platform%2Fupstream%2FlibHarfBuzzSharp.git [Indic] Ra is a consonant too --- diff --git a/src/hb-ot-shape-complex-indic.cc b/src/hb-ot-shape-complex-indic.cc index d801cec..82c247a 100644 --- a/src/hb-ot-shape-complex-indic.cc +++ b/src/hb-ot-shape-complex-indic.cc @@ -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), */