[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`
This commit is contained in:
parent
7d45cf2c8f
commit
16f311d725
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user