From 90f09b1e877dc6edf63fc4ac2b397ef4e5c92083 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Mon, 21 Mar 2022 10:24:23 -0600 Subject: [PATCH] [indic] Clear syllables before presentation features Fixes https://github.com/harfbuzz/harfbuzz/issues/3488 --- 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 4a8781c8f..f6974f27d 100644 --- a/src/hb-ot-shape-complex-indic.cc +++ b/src/hb-ot-shape-complex-indic.cc @@ -198,11 +198,10 @@ collect_features_indic (hb_ot_shape_planner_t *plan) } map->add_gsub_pause (final_reordering_indic); + map->add_gsub_pause (_hb_clear_syllables); for (; i < INDIC_NUM_FEATURES; i++) map->add_feature (indic_features[i]); - - map->add_gsub_pause (_hb_clear_syllables); } static void