summaryrefslogtreecommitdiff
path: root/src/hb-ot-shape-complex-vowel-constraints.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/hb-ot-shape-complex-vowel-constraints.cc')
-rw-r--r--src/hb-ot-shape-complex-vowel-constraints.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/hb-ot-shape-complex-vowel-constraints.cc b/src/hb-ot-shape-complex-vowel-constraints.cc
index 4652d02c..919c0305 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 (unlikely (buffer->flags & HB_BUFFER_FLAG_DO_NOT_INSERT_DOTTED_CIRCLE))
+ return;
+
/* UGLY UGLY UGLY business of adding dotted-circle in the middle of
* vowel-sequences that look like another vowel. Data for each script
* collected from the USE script development spec.