forked from minhngoc25a/freetype2
* src/sfnt/sfobjs.c (sfnt_load_face): Set `FT_FACE_FLAG_COLOR` for SVG fonts.
Fixes #1151.
This commit is contained in:
parent
6fb7b7a09d
commit
62bc04f4c5
|
@ -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 )
|
||||
|
|
Loading…
Reference in New Issue