Mark glyphs involved in 'stch' as unsafe to break

This commit is contained in:
David Corbett 2017-11-06 14:41:55 -05:00 committed by Behdad Esfahbod
parent 601126ad40
commit 74e82adaea
4 changed files with 3 additions and 0 deletions

View File

@ -560,6 +560,7 @@ apply_stch (const hb_ot_shape_plan_t *plan,
}
else
{
buffer->unsafe_to_break (context, end + 1);
hb_position_t x_offset = 0;
for (unsigned int k = end; k > start; k--)
{

View File

@ -45,6 +45,7 @@ TESTS = \
tests/arabic-feature-order.tests \
tests/arabic-like-joining.tests \
tests/arabic-mark-order.tests \
tests/arabic-stch.tests \
tests/automatic-fractions.tests \
tests/cluster.tests \
tests/color-fonts.tests \

View File

@ -0,0 +1 @@
fonts/sha1sum/d9b8bc10985f24796826c29f7ccba3d0ae11ec02.ttf:--no-glyph-names --show-flags:U+0718,U+070F,U+0718,U+0718,U+002E:[1=4+168|3=3+502#1|3=2+502#1|4=1@-1004,0+0#1|5=1@-876,0+0#1|5=1@-799,0+0#1|5=1@-722,0+0#1|5=1@-645,0+0#1|4=1@-566,0+0#1|5=1@-438,0+0#1|5=1@-361,0+0#1|5=1@-284,0+0#1|5=1@-207,0+0#1|4=1@-128,0+0#1|3=0+502]