[morx] Use deleted-glyph, instead of actual deletion, in Ligation
Closer to what CoreText does. Fixes https://github.com/harfbuzz/harfbuzz/issues/1302
This commit is contained in:
parent
5c272e3613
commit
ba5ca6a762
|
@ -447,8 +447,7 @@ struct LigatureSubtable
|
||||||
{
|
{
|
||||||
DEBUG_MSG (APPLY, nullptr, "Skipping ligature component");
|
DEBUG_MSG (APPLY, nullptr, "Skipping ligature component");
|
||||||
buffer->move_to (match_positions[--match_length]);
|
buffer->move_to (match_positions[--match_length]);
|
||||||
buffer->skip_glyph ();
|
buffer->replace_glyph (DELETED_GLYPH);
|
||||||
end--;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
buffer->move_to (end + 1);
|
buffer->move_to (end + 1);
|
||||||
|
|
Loading…
Reference in New Issue