[colr] Fix transform hell

This commit is contained in:
Behdad Esfahbod 2022-12-22 19:49:06 -07:00
parent 569d5b436c
commit 7c9e42ed92
1 changed files with 2 additions and 0 deletions

View File

@ -762,7 +762,9 @@ struct PaintGlyph
{
c->funcs->push_inverse_root_transform (c->data, c->font);
c->funcs->push_clip_glyph (c->data, gid, c->font);
c->funcs->push_root_transform (c->data, c->font);
c->recurse (this+paint);
c->funcs->pop_root_transform (c->data);
c->funcs->pop_clip (c->data);
c->funcs->pop_inverse_root_transform (c->data);
}