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 620905 - Inkscape's referenced arrays with " don't render
Inkscape's referenced arrays with " don't render
Status: RESOLVED OBSOLETE
Product: librsvg
Classification: Core
Component: general
2.26.x
Other Linux
: Normal normal
: ---
Assigned To: librsvg maintainers
librsvg maintainers
Depends on:
Blocks:
 
 
Reported: 2010-06-07 21:10 UTC by Dario
Modified: 2017-12-13 17:43 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Different svg rendering (255.38 KB, image/png)
2010-06-15 13:29 UTC, Dario
Details
screenshot on my ubuntu machine (109.01 KB, image/png)
2010-06-16 11:46 UTC, Hiroyuki Ikezoe
Details
File as generated by firefox (887.66 KB, image/svg+xml)
2010-06-16 12:51 UTC, Dario
Details
Renders correctly with `rsvg-view' (3.42 KB, image/svg+xml)
2010-12-07 01:39 UTC, Patrick McCarty
Details
Does not render correctly with `rsvg-view' (3.44 KB, image/svg+xml)
2010-12-07 01:40 UTC, Patrick McCarty
Details

Description Dario 2010-06-07 21:10:44 UTC
This image from wikipedia [1] is rendered differently in FireFox (right) and EoG/GIMP (wrong).


[1] http://upload.wikimedia.org/wikipedia/commons/a/a3/Reference_ranges_for_blood_tests_-_blood_cells.svg

Librsvg 2.26.3 from ubuntu 10.04
Comment 1 Hiroyuki Ikezoe 2010-06-08 03:45:56 UTC
I am sorry, my dull eyes can not find the difference. Please describe the difference in more detail.
Comment 2 Dario 2010-06-15 13:29:47 UTC
Created attachment 163675 [details]
Different svg rendering
Comment 3 Hiroyuki Ikezoe 2010-06-16 11:46:47 UTC
Created attachment 163805 [details]
screenshot on my ubuntu machine

Hmm, interesting. The image seems to be rendered correctly on my ubuntu 10.04 machine.
Comment 4 Dario 2010-06-16 12:51:14 UTC
Created attachment 163813 [details]
File as generated by firefox

I've looked more into it: if the image is downloaded with wget or Chrome it's shown correctly (rsvg-view used as reference). If use of "File->Save as.." menu in firefox is made than the file generated is quite different regarding formatting and the error occurs.

That's strange because apparently ff only removes some spaces and newlines (probably to have a lighter footprint in memory resource..) and they shouldn't matter, does they?

Original version is 978481 bytes in 18972 lines
Firefox edited version 908963 bytes in 3355 liness
Anyway there is no correlation with line-length because splitting back the long-ff-lines into smaller one doesn't replace right rendering.
Comment 5 Patrick McCarty 2010-12-07 01:38:27 UTC
The problem, AFAICS, is that librsvg cannot understand a style rule that looks like this:

  style="fill:url("#linearGradient13401")"

It can only read the value above when it takes this form:

  style="fill:url(#linearGradient13401)"

Please compare the following two attachments.
Comment 6 Patrick McCarty 2010-12-07 01:39:58 UTC
Created attachment 175976 [details]
Renders correctly with `rsvg-view'
Comment 7 Patrick McCarty 2010-12-07 01:40:32 UTC
Created attachment 175977 [details]
Does not render correctly with `rsvg-view'
Comment 8 GNOME Infrastructure Team 2017-12-13 17:43:00 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/39.