Attempted build fix for non-Mac.
authordino@apple.com <dino@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 18 Jun 2013 20:40:09 +0000 (20:40 +0000)
committerdino@apple.com <dino@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 18 Jun 2013 20:40:09 +0000 (20:40 +0000)
* platform/graphics/SimpleFontData.cpp:
(WebCore::SimpleFontData::nonSyntheticItalicFontData):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@151694 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/platform/graphics/SimpleFontData.cpp

index 9ec5be9..3785a79 100644 (file)
@@ -1,5 +1,12 @@
 2013-06-18  Dean Jackson  <dino@apple.com>
 
+        Attempted build fix for non-Mac.
+
+        * platform/graphics/SimpleFontData.cpp:
+        (WebCore::SimpleFontData::nonSyntheticItalicFontData):
+
+2013-06-18  Dean Jackson  <dino@apple.com>
+
         Synthesized vertical italics on rotated glyphs are transformed incorrectly
         https://bugs.webkit.org/show_bug.cgi?id=117726
 
index 93d4aa8..fe0fb98 100644 (file)
@@ -235,7 +235,9 @@ PassRefPtr<SimpleFontData> SimpleFontData::nonSyntheticItalicFontData() const
         m_derivedFontData = DerivedFontData::create(isCustomFont());
     if (!m_derivedFontData->nonSyntheticItalic) {
         FontPlatformData nonSyntheticItalicFontPlatformData(m_platformData);
+#if PLATFORM(MAC)
         nonSyntheticItalicFontPlatformData.m_syntheticOblique = false;
+#endif
         m_derivedFontData->nonSyntheticItalic = create(nonSyntheticItalicFontPlatformData, isCustomFont(), false, true);
     }
     return m_derivedFontData->nonSyntheticItalic;