From 16f311d72582c117796a23e22074fe9624760ee1 Mon Sep 17 00:00:00 2001 From: Ben Wagner Date: Tue, 12 Sep 2023 18:35:01 -0400 Subject: [PATCH] [base] Fix typo to correct predicate for call * src/base/ftobj.c (FT_Get_Color_Glyph_Paint): check `get_colr_glyph_paint` before calling `get_colr_glyph_paint` and not `get_colr_layer` --- src/base/ftobjs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/base/ftobjs.c b/src/base/ftobjs.c index 89a25bc73..759b95c73 100644 --- a/src/base/ftobjs.c +++ b/src/base/ftobjs.c @@ -5791,7 +5791,7 @@ ttface = (TT_Face)face; sfnt = (SFNT_Service)ttface->sfnt; - if ( sfnt->get_colr_layer ) + if ( sfnt->get_colr_glyph_paint ) return sfnt->get_colr_glyph_paint( ttface, base_glyph, root_transform,