Incorrect AA behaviour copying PDF to Image
Submitted by Ian Britten
Assigned to Adrian Johnson @ajohnson
Description
Created attachment 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).
Attachment 39016, "Example of AA problem when copying PDF to Image":
simple_copy.c
Version: 1.8.6