[morx] Update buffer on changes, in one more place

Was missed out before I believe.
This commit is contained in:
Behdad Esfahbod 2025-03-07 15:40:50 -07:00
parent c88e819965
commit ec4d4b01e8

View file

@ -882,6 +882,9 @@ struct InsertionSubtable
if (unlikely (!buffer->copy_glyph ())) return;
/* TODO We ignore KashidaLike setting. */
if (unlikely (!buffer->replace_glyphs (0, count, glyphs))) return;
for (unsigned int i = 0; i < count; i++)
c->buffer_glyph_set.add (glyphs[i]);
ret = true;
if (buffer->idx < buffer->len && !before)
buffer->skip_glyph ();