[unsafe-to-concat] Mark in all other shapers
unsafe_to_break() implies unsafe-to-concat; but setting the flag manually wasn't.
This commit is contained in:
parent
6e345f709d
commit
20031ddbb8
|
@ -1213,7 +1213,8 @@ resize_and_retry:
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
buffer->clear_glyph_flags (HB_GLYPH_FLAG_UNSAFE_TO_BREAK);
|
buffer->clear_glyph_flags ();
|
||||||
|
buffer->unsafe_to_break ();
|
||||||
|
|
||||||
#undef FAIL
|
#undef FAIL
|
||||||
|
|
||||||
|
|
|
@ -762,7 +762,8 @@ retry_getglyphs:
|
||||||
|
|
||||||
if (isRightToLeft) hb_buffer_reverse (buffer);
|
if (isRightToLeft) hb_buffer_reverse (buffer);
|
||||||
|
|
||||||
buffer->clear_glyph_flags (HB_GLYPH_FLAG_UNSAFE_TO_BREAK);
|
buffer->clear_glyph_flags ();
|
||||||
|
buffer->unsafe_to_break ();
|
||||||
|
|
||||||
delete [] clusterMap;
|
delete [] clusterMap;
|
||||||
delete [] glyphIndices;
|
delete [] glyphIndices;
|
||||||
|
|
|
@ -439,7 +439,8 @@ _hb_graphite2_shape (hb_shape_plan_t *shape_plan HB_UNUSED,
|
||||||
if (feats) gr_featureval_destroy (feats);
|
if (feats) gr_featureval_destroy (feats);
|
||||||
gr_seg_destroy (seg);
|
gr_seg_destroy (seg);
|
||||||
|
|
||||||
buffer->clear_glyph_flags (HB_GLYPH_FLAG_UNSAFE_TO_BREAK);
|
buffer->clear_glyph_flags ();
|
||||||
|
buffer->unsafe_to_break ();
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
|
@ -878,7 +878,8 @@ retry:
|
||||||
if (backward)
|
if (backward)
|
||||||
hb_buffer_reverse (buffer);
|
hb_buffer_reverse (buffer);
|
||||||
|
|
||||||
buffer->clear_glyph_flags (HB_GLYPH_FLAG_UNSAFE_TO_BREAK);
|
buffer->clear_glyph_flags ();
|
||||||
|
buffer->unsafe_to_break ();
|
||||||
|
|
||||||
/* Wow, done! */
|
/* Wow, done! */
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in New Issue