From 7708ee23cbcc8c8edce13e73b6e549b77bd8c2d0 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Thu, 10 May 2012 14:48:25 +0200 Subject: [PATCH] [Indic] Improve Left Matra repositioning Move its dependents too. --- src/hb-ot-shape-complex-indic.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hb-ot-shape-complex-indic.cc b/src/hb-ot-shape-complex-indic.cc index 05857eb..6790cc2 100644 --- a/src/hb-ot-shape-complex-indic.cc +++ b/src/hb-ot-shape-complex-indic.cc @@ -513,7 +513,7 @@ final_reordering_syllable (hb_buffer_t *buffer, /* Now go see if there's actually any matras... */ for (unsigned int i = new_matra_pos; i > start; i--) - if (info[i - 1].indic_category () == OT_M) + if (info[i - 1].indic_position () == POS_LEFT_MATRA) { unsigned int old_matra_pos = i - 1; hb_glyph_info_t matra = info[old_matra_pos]; -- 2.7.4