[Webkit-unassigned] [Bug 44619] New: drawGDIGlyphs checks if the offset is empty incorrectly causing problems with the shadow
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Aug 25 10:15:35 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=44619
Summary: drawGDIGlyphs checks if the offset is empty
incorrectly causing problems with the shadow
Product: WebKit
Version: 528+ (Nightly build)
Platform: PC
OS/Version: Mac OS X 10.5
Status: NEW
Severity: Normal
Priority: P2
Component: Layout and Rendering
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: alex at igalia.com
>From the comment:
https://bugs.webkit.org/show_bug.cgi?id=44603#c5
(In reply to comment #2)
> After changing the names I've realized that this condition could be wrong but the old name could make it seem correct:
>
> + drawIntoBitmap = !offset.isEmpty() || blur;
>
> It is in this file: WebCore/platform/graphics/win/FontCGWin.cpp static void drawGDIGlyphs
>
> Could someone check if in Windows negative offsets of the text actually work, or no offsets but blurring. We could open a new bug in this case.
I’ve asked someone to check, and indeed in <data:text/html,%3Cdiv%20style=%22-webkit-font-smoothing:%20none%22%3E%3Cdiv%20style=%22text-shadow:%202px%202px%20red%22%3Etest%3C/div%3E%3Cdiv%20style=%22text-shadow:%20-2px%20-2px%20red%22%3Etest%3C/div%3E%3C/div%3E> the bottom line is missing the shadow. Good catch!
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list