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 738627 - Elements are black when styled in a <style> tag
Elements are black when styled in a <style> tag
Status: RESOLVED DUPLICATE of bug 695162
Product: librsvg
Classification: Core
Component: general
2.40.x
Other Linux
: Normal normal
: ---
Assigned To: librsvg maintainers
librsvg maintainers
Depends on:
Blocks:
 
 
Reported: 2014-10-16 12:02 UTC by Martijn
Modified: 2015-10-15 17:27 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
This SVG illustrates the problem (1.98 KB, image/svg+xml)
2014-10-16 12:02 UTC, Martijn
Details

Description Martijn 2014-10-16 12:02:54 UTC
Created attachment 288678 [details]
This SVG illustrates the problem

Elements that are styled using (at least) either element selectors or class selectors in a <style> block, will appear unstyled, i.e. their fill is black.

I'll attach an SVG to test with.

My environment is Mint 17 x64, and the exact version of librsvg is 2.40.2-1. I'm ultimately trying to use ImageMagick to do the conversion, but since IM delegates to rsvg-convert, this seems the right place to file this bug.

The ImageMagick command I used to convert this file, and to reproduce the bug:

  convert -size 296x69 logo.svg logo.png

Or without IM I can use this to reproduce as well:

  rsvg-convert -w 296 -h 69 logo.svg -o logo.png

Also not that the attach SVG will display absolutely fine in every SVG-supporting browser (even IE!), and open just fine in Inkscape.
Comment 1 mik@gmx.org 2015-10-15 17:27:23 UTC
Thanks for taking the time to report this.
This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.

*** This bug has been marked as a duplicate of bug 695162 ***