[cairo] cairo Digest, Vol 52, Issue 21
sbaechler at me.com
Mon Nov 16 07:49:42 PST 2009
No. It crashes as well.
But I found a workaround. It's not that great but at least it stops
I added the following two lines:
Now special characters are just left out which is sad. Apparently the
function cannot deal with those.
> Message: 2
> Date: Sun, 15 Nov 2009 13:22:23 +0200
> From: Gerdus van Zyl <gerdusvanzyl at gmail.com>
> Subject: Re: [cairo] PyCairo crashes
> To: cairo at cairographics.org
> <91882ea90911150322r1a0147a0u265e30b196bb050c at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
> The line
> self.surface2 =
> self.width, self.height, stride)
> is very suspect since the first argument isn't a surface but a buffer/data.
> Does it work if you just use self.surface.write_to_png(self.basename)?
> 2009/11/15 Simon B?chler <sbaechler at me.com>:
More information about the cairo