[indic] Disable vowel-constraints under uniscribe-bug-compatible

This commit is contained in:
Behdad Esfahbod 2022-06-23 13:28:07 -06:00
parent f8d052df6d
commit 8bfb3e9df2
1 changed files with 3 additions and 1 deletions

View File

@ -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