[unsafe-to-break] Mark during fraction-slash formation

Fixes tests/automatic-fractions.tests
This commit is contained in:
Behdad Esfahbod 2017-08-30 17:28:22 -07:00
parent b262ebcc9c
commit c449d2d8c9
1 changed files with 2 additions and 0 deletions

View File

@ -394,6 +394,8 @@ hb_ot_shape_setup_masks_fraction (hb_ot_shape_context_t *c)
HB_UNICODE_GENERAL_CATEGORY_DECIMAL_NUMBER)
end++;
buffer->unsafe_to_break (start, end);
for (unsigned int j = start; j < i; j++)
info[j].mask |= pre_mask;
info[i].mask |= c->plan->frac_mask;