This commit is contained in:
Behdad Esfahbod 2023-01-07 16:32:50 -07:00
parent 432afa9dff
commit 5bd6fc1ace
2 changed files with 3 additions and 2 deletions

View File

@ -2085,9 +2085,9 @@ struct COLR
if (is_bounded)
c.recurse (*paint);
// We push root transform first and clip after in this backend
c.funcs->pop_clip (c.data);
c.funcs->pop_transform (c.data);
c.funcs->pop_transform (c.data);
return true;
}

View File

@ -478,6 +478,7 @@ hb_ft_paint_glyph_colr (hb_font_t *font,
if (is_bounded)
c.recurse (paint);
// We push clip first and root transform after in this backend
c.funcs->pop_transform (c.data);
c.funcs->pop_clip (c.data);