GNOME Bugzilla – Bug 700911
Bug in Filter feComponentTransfer
Last modified: 2015-10-21 21:23:22 UTC
see the svg file attached, you should see the outer shapes (negative shape) of a rounded rectangle and a circle, conforming to the specs and as programs like firefox or inkscape do. With rsvg you see the inner shape (positive shape), which is obviously wrong. It's a problem with <feComponentTransfer in="SourceAlpha" result="invAlpha"> <feFuncR type="identity"/> <feFuncG type="identity"/> <feFuncB type="identity"/> <feFuncA intercept="1" slope="-1" type="linear"/> </feComponentTransfer> regards
Please reattach the SVG file, it got lost.
Created attachment 245288 [details] Example of problem Under rsvg you see a black rectangle and a black circle, while actually a negative should be seen.
Nice catch. There were some typos in the code that prevented the relevant code from being run (!). This is fixed in commit f0bce7adc1cd5d77d0317ef07b75c738c20041aa and it should appear in librsvg 2.40.12.