[unsafe-to-break] Mark during fraction-slash formation
Fixes tests/automatic-fractions.tests
This commit is contained in:
parent
b262ebcc9c
commit
c449d2d8c9
|
@ -394,6 +394,8 @@ hb_ot_shape_setup_masks_fraction (hb_ot_shape_context_t *c)
|
||||||
HB_UNICODE_GENERAL_CATEGORY_DECIMAL_NUMBER)
|
HB_UNICODE_GENERAL_CATEGORY_DECIMAL_NUMBER)
|
||||||
end++;
|
end++;
|
||||||
|
|
||||||
|
buffer->unsafe_to_break (start, end);
|
||||||
|
|
||||||
for (unsigned int j = start; j < i; j++)
|
for (unsigned int j = start; j < i; j++)
|
||||||
info[j].mask |= pre_mask;
|
info[j].mask |= pre_mask;
|
||||||
info[i].mask |= c->plan->frac_mask;
|
info[i].mask |= c->plan->frac_mask;
|
||||||
|
|
Loading…
Reference in New Issue