Index: webkit/api/src/gtk/WebFontInfo.cpp |
diff --git a/webkit/api/src/gtk/WebFontInfo.cpp b/webkit/api/src/gtk/WebFontInfo.cpp |
index 2485022f1b6c86e0c353c99bd8f9ffc1da5e4072..264efffd946b81b1f0e3707825710bc974652fa5 100644 |
--- a/webkit/api/src/gtk/WebFontInfo.cpp |
+++ b/webkit/api/src/gtk/WebFontInfo.cpp |
@@ -58,6 +58,10 @@ WebString WebFontInfo::familyForChars(const WebUChar* characters, size_t numChar |
fcvalue.u.c = cset; |
FcPatternAdd(pattern, FC_CHARSET, fcvalue, 0); |
+ fcvalue.type = FcTypeBool; |
+ fcvalue.u.b = FcTrue; |
+ FcPatternAdd(pattern, FC_SCALABLE, fcvalue, 0); |
+ |
FcConfigSubstitute(0, pattern, FcMatchPattern); |
FcDefaultSubstitute(pattern); |