提交 ba5ca6a7 编写于 作者: B Behdad Esfahbod

[morx] Use deleted-glyph, instead of actual deletion, in Ligation

Closer to what CoreText does.

Fixes https://github.com/harfbuzz/harfbuzz/issues/1302
上级 5c272e36
......@@ -447,8 +447,7 @@ struct LigatureSubtable
{
DEBUG_MSG (APPLY, nullptr, "Skipping ligature component");
buffer->move_to (match_positions[--match_length]);
buffer->skip_glyph ();
end--;
buffer->replace_glyph (DELETED_GLYPH);
}
buffer->move_to (end + 1);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册