[cairo] Bug in release 1.12

cu cairouser at yahoo.com
Wed Mar 28 14:14:16 PDT 2012


In cairoint.h CAIRO_HAS_DEFLATE_STREAM is not defined when PDF surface
is on (but script/ps/xml are not), even though PDF surface requires it.
This results in missing symbols for deflate stream at link time.

Please modify it as follows around line 76:

#if CAIRO_HAS_PS_SURFACE || CAIRO_HAS_SCRIPT_SURFACE ||
CAIRO_HAS_XML_SURFACE || CAIRO_HAS_PDF_SURFACE
#define CAIRO_HAS_DEFLATE_STREAM 1
#endif

Also, while it is nice to see a complete test suite, it would be great
if you offered a mini-download that did not include it. 60Mb for a
library that used to be about 10% of that is a serious bloat and I have
a feeling quite a few users don't necessarily need the tests.

Thanks all.


More information about the cairo mailing list