Title: [214585] trunk/Source/WebCore
Revision
214585
Author
mmaxfi...@apple.com
Date
2017-03-29 17:37:36 -0700 (Wed, 29 Mar 2017)

Log Message

Try to normalize variation ranges
https://bugs.webkit.org/show_bug.cgi?id=170119

Unreviewed.

Addressing post-review comment.

* platform/graphics/cocoa/FontCacheCoreText.cpp:
(WebCore::isGXVariableFont):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (214584 => 214585)


--- trunk/Source/WebCore/ChangeLog	2017-03-30 00:15:24 UTC (rev 214584)
+++ trunk/Source/WebCore/ChangeLog	2017-03-30 00:37:36 UTC (rev 214585)
@@ -3,6 +3,18 @@
         Try to normalize variation ranges
         https://bugs.webkit.org/show_bug.cgi?id=170119
 
+        Unreviewed.
+
+        Addressing post-review comment.
+
+        * platform/graphics/cocoa/FontCacheCoreText.cpp:
+        (WebCore::isGXVariableFont):
+
+2017-03-29  Myles C. Maxfield  <mmaxfi...@apple.com>
+
+        Try to normalize variation ranges
+        https://bugs.webkit.org/show_bug.cgi?id=170119
+
         Reviewed by Simon Fraser.
 
         TrueType GX-style variation fonts use one particular scale for values on their

Modified: trunk/Source/WebCore/platform/graphics/cocoa/FontCacheCoreText.cpp (214584 => 214585)


--- trunk/Source/WebCore/platform/graphics/cocoa/FontCacheCoreText.cpp	2017-03-30 00:15:24 UTC (rev 214584)
+++ trunk/Source/WebCore/platform/graphics/cocoa/FontCacheCoreText.cpp	2017-03-30 00:37:36 UTC (rev 214585)
@@ -441,7 +441,7 @@
         // "The returned set will contain unboxed values, which can be extracted like so:"
         // "CTFontTableTag tag = (CTFontTableTag)(uintptr_t)CFArrayGetValueAtIndex(tags, index);"
         CTFontTableTag tableTag = static_cast<CTFontTableTag>(reinterpret_cast<uintptr_t>(CFArrayGetValueAtIndex(tables.get(), i)));
-        if (tableTag == 'stat')
+        if (tableTag == 'STAT')
             return false;
     }
     return true;
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to