Fonts forced to use non synthetic italics might be laid out with the incorrect baseline
[WebKit-https.git] / Source / WebCore / platform / graphics / SimpleFontData.cpp
index 2cbc3b8e2c4075adcaa79da97ad4509c4709b6fa..94174148a38387921d8d974cadc6cdd8f3115a4f 100644 (file)
@@ -242,7 +242,7 @@ PassRefPtr<SimpleFontData> SimpleFontData::nonSyntheticItalicFontData() const
 #if PLATFORM(COCOA)
         nonSyntheticItalicFontPlatformData.m_syntheticOblique = false;
 #endif
-        m_derivedFontData->nonSyntheticItalic = create(nonSyntheticItalicFontPlatformData, isCustomFont(), false, true);
+        m_derivedFontData->nonSyntheticItalic = create(nonSyntheticItalicFontPlatformData, isCustomFont());
     }
     return m_derivedFontData->nonSyntheticItalic;
 }