[Webkit-unassigned] [Bug 21484] New: GDI text does not respect non-rectangular clipping

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 8 13:40:44 PDT 2008


           Summary: GDI text does not respect non-rectangular clipping
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Keywords: HasReduction, NeedsRadar
          Severity: Normal
          Priority: P2
         Component: Text
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: mitz at webkit.org

The GDI text code path, when it does not take the drawIntoBitmap path, does not
respect clipping paths on the GraphicsContext (and underlying CGContext) other
than clipping rectangles. The reason is twofold:

1) In the CG/Win port, clipping a GraphicsContext to a path is not reflected on
the DC side of the GraphicsContext
2) Even if it were, some code bypasses GraphicsContext and applies clipping to
the CGContext directly, such as SVGResourceClipperCg.cpp (I know this is being
worked on).

I think clipping to a bitmap mask suffers from the same issue.

To reproduce:
1) Open the attached test case in Safari on Windows
2) Quit Safari and set it up to use GDI (see
3) Open the test case again, this time in GDI mode. Note how the text is not
clipped to the circles.

Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the webkit-unassigned mailing list