Comment 14 for bug 9193

Revision history for this message
In , Matijs van Zuijlen (matijs-van-zuijlen) wrote : This is a bug in librsvg2

package 273729 librsvg2-2
tags 273729 patch
thanks

This bug is triggered by the combination of librsvg2 and libart-lgpl.
To render a gradient fill, librsvg2 has to calculate the rate of change of
the gradient. If the distances become too small, in this case somehow the
three numbers that represent the rate of change become NaN.

Next, librsvg2 passes this faulty gradient to libart-lgpl, where it causes
an assert to fail.

I've attached a patch for librsvg2.

--
Matijs van Zuijlen http://www.matijs.net/