diff options
Diffstat (limited to 'Source/WebCore/css/CSSFontFaceSource.cpp')
-rw-r--r-- | Source/WebCore/css/CSSFontFaceSource.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/WebCore/css/CSSFontFaceSource.cpp b/Source/WebCore/css/CSSFontFaceSource.cpp index 5e5289f6d..2fd63f6fa 100644 --- a/Source/WebCore/css/CSSFontFaceSource.cpp +++ b/Source/WebCore/css/CSSFontFaceSource.cpp @@ -106,7 +106,8 @@ PassRefPtr<SimpleFontData> CSSFontFaceSource::getFontData(const FontDescription& #endif ) { // We're local. Just return a SimpleFontData from the normal cache. - return fontCache()->getCachedFontData(fontDescription, m_string); + // We don't want to check alternate font family names here, so pass true as the checkingAlternateName parameter. + return fontCache()->getCachedFontData(fontDescription, m_string, true); } // See if we have a mapping in our FontData cache. |