From 8bfb3e9df2ed9832c970c14ebc1f69a812059616 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Thu, 23 Jun 2022 13:28:07 -0600 Subject: [PATCH] [indic] Disable vowel-constraints under uniscribe-bug-compatible --- src/hb-ot-shaper-indic.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/hb-ot-shaper-indic.cc b/src/hb-ot-shaper-indic.cc index c77ddcea7..fcb772e22 100644 --- a/src/hb-ot-shaper-indic.cc +++ b/src/hb-ot-shaper-indic.cc @@ -1524,7 +1524,9 @@ preprocess_text_indic (const hb_ot_shape_plan_t *plan, hb_buffer_t *buffer, hb_font_t *font) { - _hb_preprocess_text_vowel_constraints (plan, buffer, font); + const indic_shape_plan_t *indic_plan = (const indic_shape_plan_t *) plan->data; + if (!indic_plan->uniscribe_bug_compatible) + _hb_preprocess_text_vowel_constraints (plan, buffer, font); } static bool