Touch up on previous commit
https://github.com/harfbuzz/harfbuzz/pull/1273
diff --git a/src/hb-ot-shape-complex-use.cc b/src/hb-ot-shape-complex-use.cc
index 8c44fe0..addfb87 100644
--- a/src/hb-ot-shape-complex-use.cc
+++ b/src/hb-ot-shape-complex-use.cc
@@ -572,6 +572,15 @@
HB_BUFFER_DEALLOCATE_VAR (buffer, use_category);
}
+
+static void
+preprocess_text_use (const hb_ot_shape_plan_t *plan,
+ hb_buffer_t *buffer,
+ hb_font_t *font)
+{
+ _hb_preprocess_text_vowel_constraints (plan, buffer, font);
+}
+
static bool
compose_use (const hb_ot_shape_normalize_context_t *c,
hb_codepoint_t a,
@@ -592,7 +601,7 @@
nullptr, /* override_features */
data_create_use,
data_destroy_use,
- preprocess_text_vowel_constraints,
+ preprocess_text_use,
nullptr, /* postprocess_glyphs */
HB_OT_SHAPE_NORMALIZATION_MODE_COMPOSED_DIACRITICS_NO_SHORT_CIRCUIT,
nullptr, /* decompose */