[cache] Consider `FT_GLYPH_FORMAT_SVG' a valid format.

This commit is contained in:
Moazin Khatti 2019-08-10 23:32:25 +05:00
parent 865bba38d2
commit 1d9364ca89
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;