diff options
Diffstat (limited to 'src/truetype/ttgload.c')
-rw-r--r-- | src/truetype/ttgload.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/truetype/ttgload.c b/src/truetype/ttgload.c index b56db1740..5f15a7f4d 100644 --- a/src/truetype/ttgload.c +++ b/src/truetype/ttgload.c @@ -2802,7 +2802,9 @@ #ifdef FT_CONFIG_OPTION_SVG /* check for OT-SVG */ - if ( ( load_flags & FT_LOAD_COLOR ) && face->svg ) + if ( ( load_flags & FT_LOAD_NO_SVG ) == 0 && + ( load_flags & FT_LOAD_COLOR ) && + face->svg ) { SFNT_Service sfnt = (SFNT_Service)face->sfnt; |