[cairo-bugs] [Bug 40410] New: Some axis-aligned paths are not filled

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Aug 26 14:33:33 PDT 2011


           Summary: Some axis-aligned paths are not filled
           Product: cairo
           Version: 1.10.2
          Platform: All
        OS/Version: Linux (All)
            Status: NEW
          Severity: critical
          Priority: medium
         Component: image backend
        AssignedTo: cworth at cworth.org
        ReportedBy: tweenk.pl at gmail.com
         QAContact: cairo-bugs at cairographics.org

Created an attachment (id=50603)
 --> (https://bugs.freedesktop.org/attachment.cgi?id=50603)
Reduced test case

Attached reduced testcase.

Expected result: filled red rect from about 10,10 to 290,100.
Actual result: very thin red lines corresponding to antialiased pixels at the
egdes of that rect.

The bug appears to be triggered if:
1. There is more than one subpath
2. All subpaths are axis-aligned rectangles
3. Only one of the subpaths is within surface bounds

Tweaking any of the coordinates so that there is at least one non-axis-aligned
segment or removing the second subpath (the one that is outside the surface
bounds) causes the bug to disappear.

Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the cairo-bugs mailing list