Scour messes up paths

Bug #611296 reported by Victor Engmark
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
Medium
Unassigned
Scour
Invalid
Undecided
Unassigned

Bug Description

I tried saving the following file as optimized SVG in Inkscape, but it messes up some of the paths: http://github.com/l0b0/CERN-Central-Library-bookmark/blob/master/verso.svg

Revision history for this message
Victor Engmark (victor-engmark) wrote :
Revision history for this message
Louis Simard (louis-simard-deactivatedaccount) wrote :

Assumed information:

Options: Default
Renderer: Eye of GNOME or some such
Scour version: The one with Inkscape
Inkscape version: Unknown

--------

As for this bug, I could reproduce it with the following:

./scour.py -i verso.svg -o verso.opt.svg
Scour version: 0.25 (command-line)
Renderer: Eye of GNOME

Adding --renderer-workaround (new in 0.25) works around the bug in Eye of GNOME. (Firefox displays both files just fine, though.) Strictly speaking, this bug is in "librsvg", a library that handles SVG display for Eye of GNOME and some more applications. (See bug 370061.) It has been worked around in the latest version of Scour, so it's now invalid here; Inkscape might have yet to add the changes, though.

What version of Inkscape do you have? Could you see if there's an option called "Work around renderer bugs" in the save options for Optimized SVG?

Thanks!

Changed in scour:
status: New → Invalid
Revision history for this message
su_v (suv-lp) wrote :

reproduced with Inkscape 0.47 on OS X 10.5.8
not reproduced with Inkscape 0.48 r9629 and 0.48+devel r9669 on OS X 10.5.8
(see attached example file saved as 'Optimized SVG' with default options)

The attached file renders correctly in Inkscape 0.47, 0.48pre1, Squiggle (Batik 1.7), Firefox 3.6.8, Safari 5.0, Opera 10.60, rsvg-view version 2.26.2.

Revision history for this message
su_v (suv-lp) wrote :

Just for completeness: Attaching example file saved as 'Optimized SVG' with Inkscape 0.47 on OS X 10.5.8: renders incorrectly in all SVG renderers listed in comment #3.

Revision history for this message
su_v (suv-lp) wrote :

AFAICT this is fixed in the upcoming version Inkscape 0.48.

Changed in inkscape:
importance: Undecided → Medium
milestone: none → 0.48
status: New → Fix Committed
tags: added: exporting extensions-plugins
Revision history for this message
Victor Engmark (victor-engmark) wrote :

Thanks for the quick reply. As to the more detailed information:
Inkscape version 0.47
Scour in Inkscape
Renderer: Inkscape and Eye of GNOME both render this with the messy paths
Options: Default

Apropos 611296-verso-Optimized-048-r9629.svg: It is not completely correct. There are missing lines (right side of the stairs downstairs, top left flat line downstairs).

Revision history for this message
su_v (suv-lp) wrote :

Sorry to have missed those erors: There are two missing sub-paths (each has one straight line segment with two nodes) from the path with the id "path222152" in the original document.

Changed in inkscape:
milestone: 0.48 → none
status: Fix Committed → Confirmed
Revision history for this message
jazzynico (jazzynico) wrote :

Fixed in Inkscape trunk (with --renderer-workaround).

Optimized file attached (exported with Inkscape r11946, scour 0.26+r220)

Changed in inkscape:
milestone: none → 0.49
status: Confirmed → Fix Committed
Revision history for this message
jazzynico (jazzynico) wrote :
Bryce Harrington (bryce)
Changed in inkscape:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.