[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`
smooth_malloc
Ben Wagner 1 year ago
parent 7d45cf2c8f
commit 16f311d725
  1. 2
      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,

Loading…
Cancel
Save