[cache] Consider `FT_GLYPH_FORMAT_SVG' a valid format.

This commit is contained in:
Moazin Khatti 2019-06-22 23:04:41 +05:00
parent d1a0615f00
commit 41d34c8118
1 changed files with 2 additions and 1 deletions

View File

@ -177,7 +177,8 @@
if ( !error )
{
if ( face->glyph->format == FT_GLYPH_FORMAT_BITMAP ||
face->glyph->format == FT_GLYPH_FORMAT_OUTLINE )
face->glyph->format == FT_GLYPH_FORMAT_OUTLINE ||
face->glyph->format == FT_GLYPH_FORMAT_SVG )
{
/* ok, copy it */
FT_Glyph glyph;