* src/sfnt/sfobjs.c (sfnt_load_face): Set `FT_FACE_FLAG_COLOR` for SVG fonts.

Fixes #1151.
This commit is contained in:
Werner Lemberg 2022-04-30 15:37:14 +02:00
parent 6fb7b7a09d
commit 62bc04f4c5
1 changed files with 2 additions and 1 deletions

View File

@ -1066,7 +1066,8 @@
*/
if ( face->sbit_table_type == TT_SBIT_TABLE_TYPE_CBLC ||
face->sbit_table_type == TT_SBIT_TABLE_TYPE_SBIX ||
face->colr )
face->colr ||
face->svg )
flags |= FT_FACE_FLAG_COLOR; /* color glyphs */
if ( has_outline == TRUE )