[kern] Mark unsafe-to-break
This commit is contained in:
parent
71fd6325b6
commit
5f94b4cc39
|
@ -473,6 +473,7 @@ _hb_ot_shape_fallback_kern (const hb_ot_shape_plan_t *plan,
|
|||
pos[idx].x_advance += kern1;
|
||||
pos[skippy_iter.idx].x_advance += kern2;
|
||||
pos[skippy_iter.idx].x_offset += kern2;
|
||||
buffer->unsafe_to_break (idx, skippy_iter.idx + 1);
|
||||
}
|
||||
|
||||
if (y_kern)
|
||||
|
@ -482,6 +483,7 @@ _hb_ot_shape_fallback_kern (const hb_ot_shape_plan_t *plan,
|
|||
pos[idx].y_advance += kern1;
|
||||
pos[skippy_iter.idx].y_advance += kern2;
|
||||
pos[skippy_iter.idx].y_offset += kern2;
|
||||
buffer->unsafe_to_break (idx, skippy_iter.idx + 1);
|
||||
}
|
||||
|
||||
idx = skippy_iter.idx;
|
||||
|
|
Loading…
Reference in New Issue