Text element problems in SVG output by Inkscape

Bug #167551 reported by Dov Grobgeld
4
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
Undecided
Unassigned

Bug Description

I imported an SVG file created by Dia into inkscape,
made some modifications and saved it. Though I was
happy with the result in inkscape under Linux, the
rendering of the svg output after saving on different
platforms was very erratic.

I haven't investigated the problematic svg yet, but I
believe that as a rule inkscape should verify that the
SVG that it outputs is valid. This is under the
assumption that the SVG output was non-valid, which I
do not know yet. The only thing that I know is that
trying to look at the resulting file for the five
platforms Inkscape Linux, Inkscape Windows, Firefox
Linux, Firefox Windows, and rsvg all give different
renderings!

Enclosed find the problematic svg file foobarbaz.svg
and the renderings collection in
foobarbaz-renderings.png .

Please note that when getting the screen shots I did
not properly take care of the scaling which may be seen
in the size of the gray rectangle. Obviously for
comparison the rectangle should be considered the same
size in all cases.

Revision history for this message
Dov Grobgeld (dov-grobgeld) wrote : The problematic svg file

Other attachments

Revision history for this message
Dov Grobgeld (dov-grobgeld) wrote : Renderings for five different svg platforms

Other attachments

Revision history for this message
Dov Grobgeld (dov-grobgeld) wrote :

I found the reason, and it turns out that inkscape is not to
blame. dia makes a mistake in its SVG and its output units
are cm instead of pt's! Thus the resulting SVG contains very
small numbers. These in turn trigger quantization bugs that
appearently are different in the five different packages
that I tested. I will file a bug with dia, which should take
care of the problem.

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.