[unsafe-to-break] Flag during fallback positioning

This commit is contained in:
Behdad Esfahbod 2017-08-10 20:16:15 -07:00
parent e2a2b5b229
commit a7c4972cce
1 changed files with 3 additions and 0 deletions

View 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))