diff options
Diffstat (limited to 'WebCore/platform/graphics/win/FontDatabase.cpp')
-rw-r--r-- | WebCore/platform/graphics/win/FontDatabase.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/WebCore/platform/graphics/win/FontDatabase.cpp b/WebCore/platform/graphics/win/FontDatabase.cpp index d0773ea..22ad4a6 100644 --- a/WebCore/platform/graphics/win/FontDatabase.cpp +++ b/WebCore/platform/graphics/win/FontDatabase.cpp @@ -188,6 +188,9 @@ void populateFontDatabase() return; initialized = true; + if (wkCanCreateCGFontWithLOGFONT()) + return; + RetainPtr<CFPropertyListRef> propertyList = readFontPlist(); RetainPtr<CFArrayRef> lastFilenamesFromRegistry; if (propertyList && CFGetTypeID(propertyList.get()) == CFDictionaryGetTypeID()) { |