Title: [164552] trunk/Source/WebCore
Revision
164552
Author
[email protected]
Date
2014-02-22 15:59:16 -0800 (Sat, 22 Feb 2014)

Log Message

Letterpress effect disabled for synthetic italic
https://bugs.webkit.org/show_bug.cgi?id=129218
<rdar://problem/15997846>

Reviewed by Dan Bernstein.

There was no need to guard against synthetic italics and letterpress.

* platform/graphics/mac/FontMac.mm:
(WebCore::Font::drawGlyphs): Remove !useLetterpressEffect from conditional.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (164551 => 164552)


--- trunk/Source/WebCore/ChangeLog	2014-02-22 23:56:26 UTC (rev 164551)
+++ trunk/Source/WebCore/ChangeLog	2014-02-22 23:59:16 UTC (rev 164552)
@@ -1,3 +1,16 @@
+2014-02-22  Dean Jackson  <[email protected]>
+
+        Letterpress effect disabled for synthetic italic
+        https://bugs.webkit.org/show_bug.cgi?id=129218
+        <rdar://problem/15997846>
+
+        Reviewed by Dan Bernstein.
+
+        There was no need to guard against synthetic italics and letterpress.
+
+        * platform/graphics/mac/FontMac.mm:
+        (WebCore::Font::drawGlyphs): Remove !useLetterpressEffect from conditional.
+
 2014-02-21  Sam Weinig  <[email protected]>
 
         Expose phase and momentum phase as SPI on DOMWheelEvent

Modified: trunk/Source/WebCore/platform/graphics/mac/FontMac.mm (164551 => 164552)


--- trunk/Source/WebCore/platform/graphics/mac/FontMac.mm	2014-02-22 23:56:26 UTC (rev 164551)
+++ trunk/Source/WebCore/platform/graphics/mac/FontMac.mm	2014-02-22 23:59:16 UTC (rev 164552)
@@ -287,7 +287,7 @@
 #endif
     matrix.b = -matrix.b;
     matrix.d = -matrix.d;
-    if (platformData.m_syntheticOblique && !useLetterpressEffect) {
+    if (platformData.m_syntheticOblique) {
         static float obliqueSkew = tanf(SYNTHETIC_OBLIQUE_ANGLE * piFloat / 180);
         if (platformData.orientation() == Vertical)
             matrix = CGAffineTransformConcat(matrix, CGAffineTransformMake(1, obliqueSkew, 0, 1, 0, 0));
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to