| Index: skia/ext/SkFontHost_fontconfig_direct.cpp
|
| ===================================================================
|
| --- skia/ext/SkFontHost_fontconfig_direct.cpp (revision 18826)
|
| +++ skia/ext/SkFontHost_fontconfig_direct.cpp (working copy)
|
| @@ -118,6 +118,16 @@
|
| return false;
|
| }
|
|
|
| + // Skip non-scalable fonts, they don't work with FT_Set_Char_Size
|
| + // in SkFontHost_FreeType.cpp.
|
| + FcBool scalable = FcFalse;
|
| + FcPatternGetBool(match, FC_SCALABLE, 0, &scalable);
|
| + if (scalable != FcTrue) {
|
| + FcPatternDestroy(match);
|
| + FcPatternDestroy(pattern);
|
| + return false;
|
| + }
|
| +
|
| FcChar8* post_match_family;
|
| FcPatternGetString(match, FC_FAMILY, 0, &post_match_family);
|
| const bool family_names_match =
|
|
|