[unsafe-to-break] Flag during fallback positioning
authorBehdad Esfahbod <behdad@behdad.org>
Fri, 11 Aug 2017 03:16:15 +0000 (20:16 -0700)
committerBehdad Esfahbod <behdad@behdad.org>
Fri, 11 Aug 2017 03:16:15 +0000 (20:16 -0700)
src/hb-ot-shape-fallback.cc

index ea8312b..4da53f4 100644 (file)
@@ -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))