From afda4215dd9c88a1d1a0f8d4ec0092f3ad5c4059 Mon Sep 17 00:00:00 2001 From: Khaled Hosny Date: Sun, 12 Jul 2026 03:26:26 +0300 Subject: [PATCH] [ft] Use fill_glyph for COLRv0 layers --- src/hb-ft-colr.hh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/hb-ft-colr.hh b/src/hb-ft-colr.hh index af45ca754..5237dfb5d 100644 --- a/src/hb-ft-colr.hh +++ b/src/hb-ft-colr.hh @@ -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,