From 97158392a5899ddb739afaac925128f33f699bd7 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Sun, 31 Jul 2011 15:01:28 -0400 Subject: [PATCH] [Indic] Ra is a consonant too --- src/hb-ot-shape-complex-indic.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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), */ -- 2.7.4