After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 700911 - Bug in Filter feComponentTransfer
Bug in Filter feComponentTransfer
Status: RESOLVED FIXED
Product: librsvg
Classification: Core
Component: general
2.36.x
Other Linux
: Normal normal
: ---
Assigned To: librsvg maintainers
librsvg maintainers
Depends on:
Blocks:
 
 
Reported: 2013-05-23 18:12 UTC by Hadmut Danisch
Modified: 2015-10-21 21:23 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Example of problem (1.14 KB, image/svg+xml)
2013-05-25 09:51 UTC, Hadmut Danisch
Details

Description Hadmut Danisch 2013-05-23 18:12:52 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
Comment 1 André Klapper 2013-05-25 09:38:37 UTC
Please reattach the SVG file, it got lost.
Comment 2 Hadmut Danisch 2013-05-25 09:51:09 UTC
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.
Comment 3 Federico Mena Quintero 2015-10-21 21:23:22 UTC
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.