From a7c4972ccefaaf48dfd6f0f4588df0c785aa33d2 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Thu, 10 Aug 2017 20:16:15 -0700 Subject: [PATCH] [unsafe-to-break] Flag during fallback positioning --- src/hb-ot-shape-fallback.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/hb-ot-shape-fallback.cc b/src/hb-ot-shape-fallback.cc index ea8312b22..4da53f4cc 100644 --- a/src/hb-ot-shape-fallback.cc +++ b/src/hb-ot-shape-fallback.cc @@ -307,6 +307,9 @@ position_around_base (const hb_ot_shape_plan_t *plan, unsigned int end) { hb_direction_t horiz_dir = HB_DIRECTION_INVALID; + + buffer->unsafe_to_break (base, end); + hb_glyph_extents_t base_extents; if (!font->get_glyph_extents (buffer->info[base].codepoint, &base_extents))