[SCM] WebKit Debian packaging branch, debian/unstable, updated. debian/1.1.15-1-40151-g37bb677

darin darin at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 07:55:42 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit e30e5aaa969b6c0006028f380a1de67157931720
Author: darin <darin at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Sun Sep 7 23:06:28 2003 +0000

            Reviewed by Maciej.
    
            - fixed 3411827 -- REGRESSION: text drawing after text-shadow does not respect smoothing style (asahi.com)
    
            * kwq/KWQPainter.mm: (QPainter::clearShadow): Call CGContextSetShadowWithColor with a color of NULL,
            which actually clears the shadow, rather than CGContextSetShadow, which sets a black shadow (even
            if it is zero pixels in size).
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@4952 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog-2003-10-25 b/WebCore/ChangeLog-2003-10-25
index cc0430d..f689681 100644
--- a/WebCore/ChangeLog-2003-10-25
+++ b/WebCore/ChangeLog-2003-10-25
@@ -1,3 +1,13 @@
+2003-09-07  Darin Adler  <darin at apple.com>
+
+        Reviewed by Maciej.
+
+        - fixed 3411827 -- REGRESSION: text drawing after text-shadow does not respect smoothing style (asahi.com)
+
+        * kwq/KWQPainter.mm: (QPainter::clearShadow): Call CGContextSetShadowWithColor with a color of NULL,
+        which actually clears the shadow, rather than CGContextSetShadow, which sets a black shadow (even
+        if it is zero pixels in size).
+
 === Safari-98 ===
 
 2003-09-05  Ken Kocienda  <kocienda at apple.com>
diff --git a/WebCore/ChangeLog-2005-08-23 b/WebCore/ChangeLog-2005-08-23
index cc0430d..f689681 100644
--- a/WebCore/ChangeLog-2005-08-23
+++ b/WebCore/ChangeLog-2005-08-23
@@ -1,3 +1,13 @@
+2003-09-07  Darin Adler  <darin at apple.com>
+
+        Reviewed by Maciej.
+
+        - fixed 3411827 -- REGRESSION: text drawing after text-shadow does not respect smoothing style (asahi.com)
+
+        * kwq/KWQPainter.mm: (QPainter::clearShadow): Call CGContextSetShadowWithColor with a color of NULL,
+        which actually clears the shadow, rather than CGContextSetShadow, which sets a black shadow (even
+        if it is zero pixels in size).
+
 === Safari-98 ===
 
 2003-09-05  Ken Kocienda  <kocienda at apple.com>
diff --git a/WebCore/kwq/KWQPainter.mm b/WebCore/kwq/KWQPainter.mm
index b6b439c..561b074 100644
--- a/WebCore/kwq/KWQPainter.mm
+++ b/WebCore/kwq/KWQPainter.mm
@@ -649,6 +649,6 @@ void QPainter::setShadow(int x, int y, int blur, const QColor& color)
 void QPainter::clearShadow()
 {
     CGContextRef context = (CGContextRef)([[NSGraphicsContext currentContext] graphicsPort]);
-    CGContextSetShadow(context, CGSizeZero, 0);
+    CGContextSetShadowWithColor(context, CGSizeZero, 0, NULL);
 }
 

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list