[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");
|
||||
buffer->move_to (match_positions[--match_length]);
|
||||
buffer->skip_glyph ();
|
||||
end--;
|
||||
buffer->replace_glyph (DELETED_GLYPH);
|
||||
}
|
||||
|
||||
buffer->move_to (end + 1);
|
||||
|
|
Loading…
Reference in New Issue