[cairo] [SVG] a8-mask failure

Emmanuel Pacaud emmanuel.pacaud at lapp.in2p3.fr
Thu Mar 20 10:50:43 PDT 2008


Hi,

The SVG fails the a8-mask test, because of a libpng warning that is
converted to a CAIRO_STATUS_NO_MEMORY in png_simple_warning_callback.

The libpng warning is "PNG warning = Ignoring attempt to write bKGD
chunk out-of-range for bit_depth".

I'm not sure to like the "upgrade" of the warning to a cairo error. And
the suppression of the PNG warning makes the debugging harder than it
should.

Do we really want to hide them ? Is there a good reason to make cairo
fail on something that the libpng developers consider a simple warning ?

And more important, does someone here know how to fix the warning ? 

	Emmanuel.

-- 
Emmanuel PACAUD
Groupe Virgo
LAPP - Laboratoire d'Annecy-le-Vieux de physique des particules
9, chemin de Bellevue - BP 110
74941 Annecy-le-Vieux CEDEX
France
Tél: (+33)4 50 09 17 89 - Fax: (+33)4 50 27 94 95



More information about the cairo mailing list