[cairo] Cairo PDF output doesn't render in Acrobat
Nick De Roeck
nick.de.roeck at gmail.com
Mon Apr 21 07:58:53 PDT 2008
First of all my sincere admiration for all your nice work with Cairo.
This library is fantastic!
I've got an issue with the PDF output of Cairo 1.6.4. If you run the
code below you'll end up with a PDF file (in attachment) which doesn't
render in Acrobat (8.1.2), with the error: 'a drawing error occured'.
I've tested this file also with OSX 1.5.2 Preview.app, which displays
the file just fine.
My guess is that this is related to the multistep gradation, if you
leave out the middle step, the PDF file renders fine in Acrobat.
I'm not sure if this is a bug in Acrobat, or a bug in the PDF itself.
All insights very welcome,
cairo_surface_t *lCairoSurface =
cairo_t *lCairoState = cairo_create(lCairoSurface);
// multi-step radial gradient
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1842 bytes
Desc: not available
Url : http://lists.cairographics.org/archives/cairo/attachments/20080421/333561b4/attachment.pdf
More information about the cairo