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

Fixes tests/automatic-fractions.tests
pull/530/head
Behdad Esfahbod 8 years ago
parent b262ebcc9c
commit c449d2d8c9
  1. 2
      src/hb-ot-shape.cc

@ -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;

Loading…
Cancel
Save