From 0afb84c12567ac35adac657bf8be29999b8c5a50 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Tue, 24 Jul 2012 01:44:47 -0400 Subject: [PATCH] [Indic] Fix minor bug in pre-base Ra positioning --- src/hb-ot-shape-complex-indic.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hb-ot-shape-complex-indic.cc b/src/hb-ot-shape-complex-indic.cc index 17cca3318..0c132998a 100644 --- a/src/hb-ot-shape-complex-indic.cc +++ b/src/hb-ot-shape-complex-indic.cc @@ -1131,8 +1131,8 @@ final_reordering_syllable (hb_buffer_t *buffer, */ unsigned int new_pos = base; - while (new_pos > start + 1 && - !(is_one_of (info[new_pos - 1], (FLAG (OT_M) | FLAG (OT_H) | FLAG (OT_Coeng))))) + while (new_pos > start && + !(is_one_of (info[new_pos - 1], FLAG(OT_M) | HALANT_OR_COENG_FLAGS))) new_pos--; if (new_pos > start && is_halant_or_coeng (info[new_pos - 1]))