Title: [188375] trunk/Source/WebCore
Revision
188375
Author
[email protected]
Date
2015-08-12 21:38:33 -0700 (Wed, 12 Aug 2015)

Log Message

[WinCairo] Turn on WOFF font
https://bugs.webkit.org/show_bug.cgi?id=147878

WOFF is already usable in Windows Cairo. Just turn it on.

Patch by Jinyoung Hur <[email protected]> on 2015-08-12
Reviewed by Myles C. Maxfield.

Test: fast\css\font-face-woff.html

* platform/graphics/win/FontCustomPlatformDataCairo.cpp:
(WebCore::FontCustomPlatformData::supportsFormat):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (188374 => 188375)


--- trunk/Source/WebCore/ChangeLog	2015-08-13 03:51:25 UTC (rev 188374)
+++ trunk/Source/WebCore/ChangeLog	2015-08-13 04:38:33 UTC (rev 188375)
@@ -1,3 +1,17 @@
+2015-08-12  Jinyoung Hur  <[email protected]>
+
+        [WinCairo] Turn on WOFF font
+        https://bugs.webkit.org/show_bug.cgi?id=147878
+
+        WOFF is already usable in Windows Cairo. Just turn it on.
+
+        Reviewed by Myles C. Maxfield.
+
+        Test: fast\css\font-face-woff.html
+
+        * platform/graphics/win/FontCustomPlatformDataCairo.cpp:
+        (WebCore::FontCustomPlatformData::supportsFormat):
+
 2015-08-12  Brent Fulgham  <[email protected]>
 
         Move RenderBox-specific Scroll Snap code from RenderElement to RenderBox

Modified: trunk/Source/WebCore/platform/graphics/win/FontCustomPlatformDataCairo.cpp (188374 => 188375)


--- trunk/Source/WebCore/platform/graphics/win/FontCustomPlatformDataCairo.cpp	2015-08-13 03:51:25 UTC (rev 188374)
+++ trunk/Source/WebCore/platform/graphics/win/FontCustomPlatformDataCairo.cpp	2015-08-13 04:38:33 UTC (rev 188375)
@@ -97,7 +97,7 @@
 
 bool FontCustomPlatformData::supportsFormat(const String& format)
 {
-    return equalIgnoringCase(format, "truetype") || equalIgnoringCase(format, "opentype");
+    return equalIgnoringCase(format, "truetype") || equalIgnoringCase(format, "opentype") || equalIgnoringCase(format, "woff");
 }
 
 }
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to