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 746571 - librsvg is unable to display a inkscape optimized svg ffile with masks
librsvg is unable to display a inkscape optimized svg ffile with masks
Status: RESOLVED OBSOLETE
Product: librsvg
Classification: Core
Component: general
2.40.x
Other Linux
: Normal normal
: ---
Assigned To: librsvg maintainers
librsvg maintainers
Depends on:
Blocks:
 
 
Reported: 2015-03-21 14:01 UTC by Holger J.
Modified: 2017-12-13 18:07 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
a simpe globe with masks (9.87 KB, image/svg+xml)
2015-03-21 14:01 UTC, Holger J.
Details

Description Holger J. 2015-03-21 14:01:45 UTC
Created attachment 300022 [details]
a simpe globe with masks

see summary
Comment 1 André Klapper 2015-03-22 11:55:45 UTC
Which exact librsvg version is this about?
Comment 2 Holger J. 2015-03-22 14:45:38 UTC
(In reply to André Klapper from comment #1)
> Which exact librsvg version is this about?

$ pacman -Q librsvg
librsvg 1:2.40.8-1
$
Comment 3 mik@gmx.org 2015-10-17 06:29:01 UTC
As you say this bug applies only to optimized SVG. Does this mean the non-optimized SVG file doesn't show issues? So can you provide the non-optimized Version too. Then it would be easier to find the fault location.

You have to keep in mind that libRSVG has limited support for masks.
Comment 4 Holger J. 2015-10-18 17:09:50 UTC
sorry, I don't have an unoptimized version anymore but if I import the file in svg-edit(http://svg-edit.googlecode.com/svn/branches/stable/editor/svg-editor.html) and save it back to svg, librsvg is able to display that file again. Also for some reason any gecko or webkit browser can display this file correctly.
Comment 5 mik@gmx.org 2015-10-18 19:24:03 UTC
Can you upload that file that works again. I cannot reproduce your steps with libRSVG 2.40.9.
Comment 6 Massimo 2016-02-16 07:55:38 UTC
Here:

https://git.gnome.org/browse/librsvg/tree/rsvg-mask.c#n80

initializing x, y, width and height respectively to
-10%, -10%, 120% and 120% as the spec describes:

https://www.w3.org/TR/SVG/masking.html#MaskElementXAttribute

seems to fix at least the mask issue in this particular case, 
perhaps it breaks something else.
Comment 7 GNOME Infrastructure Team 2017-12-13 18:07:27 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/105.