[cairo] Problem with png in pdf documents when using acroread

Davide Viti zinosat at tiscali.it
Wed Apr 4 15:32:44 PDT 2007

On Wed, Apr 04, 2007 at 05:55:48PM -0400, Behdad Esfahbod wrote:
> This is because you are setting source with cairo_set_source_surface()
> and do not reset it to black by the time of cairo_stroke() in the second
> run of the loop.

that's right and it fixes the problem without the need of using cairo_{save,restore}

Thank you,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.freedesktop.org/archives/cairo/attachments/20070405/ffbce23b/attachment.pgp

More information about the cairo mailing list