[Poppler-bugs] [Bug 41005] New: setSoftMask does not with with rotated or translated ctm

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Sep 19 04:56:54 PDT 2011


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

           Summary: setSoftMask does not with with rotated or translated
                    ctm
           Product: poppler
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: cairo backend
        AssignedTo: poppler-bugs at lists.freedesktop.org
        ReportedBy: ajohnson at redneon.com


Test case attached. The problem is CairoOutputDev::setSoftMask creates in image
mask using the clip extents transformed to device space. There are two bugs:

- The transformation of clip extents to device space is only transforming two
corners then getting the bounding box around the two corners. If, for example,
the clip extents is a square rotated 45 degrees, the bounding box around the
two transformed corners is now a straight line.

- The mask surface origin starts at the clip extents origin, not (0,0). But
there is no translation applied when painting the source onto the mask surface
to compensate for the non zero origin.

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


More information about the Poppler-bugs mailing list