Index: src/ports/SkFontConfigInterface_direct.cpp |
diff --git a/src/ports/SkFontConfigInterface_direct.cpp b/src/ports/SkFontConfigInterface_direct.cpp |
index c8bafc712a74f93dd2af4cb0f4d410bf3061b112..df68fae0a830b9553be5c0c161eb98d24922af9b 100644 |
--- a/src/ports/SkFontConfigInterface_direct.cpp |
+++ b/src/ports/SkFontConfigInterface_direct.cpp |
@@ -597,11 +597,6 @@ bool SkFontConfigInterfaceDirect::matchFamilyName(const char familyName[], |
FcPatternAddBool(pattern, FC_SCALABLE, FcTrue); |
-#ifdef SK_FONT_CONFIG_INTERFACE_ONLY_ALLOW_SFNT_FONTS |
- FcPatternAddString(pattern, FC_FONTFORMAT, reinterpret_cast<const FcChar8*>(kFontFormatTrueType)); |
- FcPatternAddString(pattern, FC_FONTFORMAT, reinterpret_cast<const FcChar8*>(kFontFormatCFF)); |
-#endif |
- |
FcConfigSubstitute(nullptr, pattern, FcMatchPattern); |
FcDefaultSubstitute(pattern); |