[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-9427-gc2be6fc

alex at webkit.org alex at webkit.org
Wed Dec 22 12:41:36 UTC 2010


The following commit has been merged in the debian/experimental branch:
commit 8c6175239f8d9685ecb2b60aed5275d012a5b04b
Author: alex at webkit.org <alex at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Fri Aug 27 09:21:35 2010 +0000

    2010-08-27  Alejandro G. Castro  <alex at igalia.com>
    
            Reviewed by Dan Bernstein.
    
            drawGDIGlyphs checks if the offset is empty incorrectly causing
            problems with the shadow
            https://bugs.webkit.org/show_bug.cgi?id=44619
    
            Removed the offset empty condition, now we just check if we have
            offset or blur.
    
            * platform/graphics/win/FontCGWin.cpp:
            (WebCore::drawGDIGlyphs):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66192 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
index b155f17..1abed79 100644
--- a/WebCore/ChangeLog
+++ b/WebCore/ChangeLog
@@ -1,3 +1,17 @@
+2010-08-27  Alejandro G. Castro  <alex at igalia.com>
+
+        Reviewed by Dan Bernstein.
+
+        drawGDIGlyphs checks if the offset is empty incorrectly causing
+        problems with the shadow
+        https://bugs.webkit.org/show_bug.cgi?id=44619
+
+        Removed the offset empty condition, now we just check if we have
+        offset or blur.
+
+        * platform/graphics/win/FontCGWin.cpp:
+        (WebCore::drawGDIGlyphs):
+
 2010-08-27  Dirk Schulze  <krit at webkit.org>
 
         Reviewed by Nikolas Zimmermann.
diff --git a/WebCore/platform/graphics/win/FontCGWin.cpp b/WebCore/platform/graphics/win/FontCGWin.cpp
index 9d81838..c6437f2 100644
--- a/WebCore/platform/graphics/win/FontCGWin.cpp
+++ b/WebCore/platform/graphics/win/FontCGWin.cpp
@@ -144,7 +144,7 @@ static void drawGDIGlyphs(GraphicsContext* graphicsContext, const SimpleFontData
             float blur;
             Color color;
             graphicsContext->getShadow(offset, blur, color);
-            drawIntoBitmap = !offset.isEmpty() || blur;
+            drawIntoBitmap = offset.width() || offset.height() || blur;
         }
     }
 

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list