mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-25 17:01:17 +01:00
[ft] Use fill_glyph for COLRv0 layers
This commit is contained in:
1 parent
9ab56e8678
commit
afda4215dd
1 file changed
+1
-3
+1
-3
@@ -600,10 +600,8 @@ hb_ft_paint_glyph_colr (hb_font_t *font,
|
||||
}
|
||||
|
||||
ft_font->lock.unlock ();
|
||||
paint_funcs->push_clip_glyph (paint_data, layer_glyph_index, font);
|
||||
paint_funcs->fill_glyph (paint_data, layer_glyph_index, font, is_foreground, color);
|
||||
ft_font->lock.lock ();
|
||||
paint_funcs->color (paint_data, is_foreground, color);
|
||||
paint_funcs->pop_clip (paint_data);
|
||||
|
||||
} while (FT_Get_Color_Glyph_Layer(ft_face,
|
||||
gid,
|
||||
|
||||
Reference in new issue
Block a user