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 750071 - SVG Image with gradient exported in Yed displays wrong
SVG Image with gradient exported in Yed displays wrong
Status: RESOLVED OBSOLETE
Product: librsvg
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: librsvg maintainers
librsvg maintainers
Depends on:
Blocks:
 
 
Reported: 2015-05-28 22:13 UTC by daniels.vasconcelos
Modified: 2017-12-13 18:09 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
SVG image showing the error (8.52 KB, image/svg+xml)
2015-05-28 22:13 UTC, daniels.vasconcelos
Details

Description daniels.vasconcelos 2015-05-28 22:13:16 UTC
Created attachment 304204 [details]
SVG image showing the error

The SVG images generated with Yed [http://yed.yworks.com/] (using people icons) displays wrong when using the librsvg2.

Im just a user, but I got this tech details here:
http://yed.yworks.com/support/qa/7477/people-icon-not-working-in-svg#a7479


"The culprit seems to be the definition for the person's face highlight <path id="svg1.face_highlight_3_" .../>. This path does not have a stroke attribute, indicating that it should be filled, but not framed. Seems like librsvg2 which is used in Emacs for displaying SVG documents and Firefox's file preview (which probably does not use full-fledged SVG support) cannot handle gradient-filled paths that are not framed."

I hope this helps to fix the problem.

SVG image attached.

The problem affects only SVG images:
http://postimg.org/image/slxtyr9lj/


Best regards.
Comment 1 Massimo 2016-02-17 08:42:38 UTC
One problem of this svg is reproducible with this one:

<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" fill="red">
  <svg fill="#007">
    <rect width="16" height="16"/>
  </svg>
</svg>


In presence of nested <svg> nodes here:

https://git.gnome.org/browse/librsvg/tree/rsvg-base.c#n728

it seems the same style attributes are repeatedly applied
to the treebase node, but not to inner svg nodes.

When inner nodes are rendered their attributes are not honoured.
Comment 2 GNOME Infrastructure Team 2017-12-13 18:09:07 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/librsvg/issues/112.