[cairo-bugs] [Bug 30429] New: Incorrect AA behaviour copying PDF to Image

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Sep 28 09:18:22 PDT 2010


           Summary: Incorrect AA behaviour copying PDF to Image
           Product: cairo
           Version: 1.8.6
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: pdf backend
        AssignedTo: ajohnson at redneon.com
        ReportedBy: britten at caris.com
         QAContact: cairo-bugs at cairographics.org

Created an attachment (id=39016)
 --> (https://bugs.freedesktop.org/attachment.cgi?id=39016)
Example of AA problem when copying PDF to Image

As first mentioned at
http://lists.cairographics.org/archives/cairo/2010-September/020901.html ,
there seems to be some backwards logic regarding disabling AA, when copying a
PDF surface to an image surface.  Attached is a sample program that
demonstrates the problem.

To me, whether the final image pixels are AA'd or not should be determined by
the AA setting on the target image surface, at the time the source PDF is
copied to it.  My sample seems to indicate the opposite though - AA needs to be
disabled on the *source* PDF surface, _before_ any data is drawn to it (And,
the AA setting on the target Image surface is ignored).

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