From 571fad4cf17d90434562d1b6f5d08b6f27343c7a Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Thu, 11 Apr 2019 17:54:38 -0400 Subject: [PATCH] Add HB_NO_OT_SHAPE_COMPLEX_VOWEL_CONSTRAINTS Part of https://github.com/harfbuzz/harfbuzz/issues/1652 --- src/hb-ot-shape-complex-vowel-constraints.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/hb-ot-shape-complex-vowel-constraints.cc b/src/hb-ot-shape-complex-vowel-constraints.cc index e4cf64561..2eb313ae4 100644 --- a/src/hb-ot-shape-complex-vowel-constraints.cc +++ b/src/hb-ot-shape-complex-vowel-constraints.cc @@ -34,6 +34,9 @@ _hb_preprocess_text_vowel_constraints (const hb_ot_shape_plan_t *plan HB_UNUSED, hb_buffer_t *buffer, hb_font_t *font HB_UNUSED) { +#if defined(HB_NO_OT_SHAPE_COMPLEX_VOWEL_CONSTRAINTS) + return; +#endif if (buffer->flags & HB_BUFFER_FLAG_DO_NOT_INSERT_DOTTED_CIRCLE) return;