[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:
Ben Wagner 2023-09-12 18:35:01 -04:00
parent 7d45cf2c8f
commit 16f311d725
1 changed files with 1 additions and 1 deletions

View File

@ -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,