[cairo-bugs] [Bug 34560] New: path operator fixup incorrectly applied to stroked paths in pdf/ps backends

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Feb 22 03:53:42 PST 2011


https://bugs.freedesktop.org/show_bug.cgi?id=34560

           Summary: path operator fixup incorrectly applied to stroked
                    paths in pdf/ps backends
           Product: cairo
           Version: 1.10.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: pdf backend
        AssignedTo: ajohnson at redneon.com
        ReportedBy: kellner at kit.edu
         QAContact: cairo-bugs at cairographics.org


Created an attachment (id=43648)
 --> (https://bugs.freedesktop.org/attachment.cgi?id=43648)
test program

The function _cairo_path_fixed_is_box() in cairo-path-fixed.c is 
used in some backends (pdf and ps, maybe more) during a stroke
operation.

The operator fixup seems to be intended to complete a path prior 
to filling.  When this fixup is also applied to stroke operations,
it may cause incorrect output.

The test program tries to draw 3 lines.  The pdf and ps backends 
in cairo 1.10.0 (and master branch) draw a rectangle instead, while
the svg output is Ok.

-- 
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