Opened 10 years ago

Closed 9 years ago

Last modified 9 years ago

#2803 closed defect (fixed)

Generated SVGs not quite right.

Reported by: Dietmar Winkler Owned by: Adeel Asghar
Priority: high Milestone: 1.9.4
Component: Third-Party Libraries Version: trunk
Keywords: svg Cc:

Description

The SVGs that get generated for the icons are not quite right. This only becomes apparent when you try to convert them to PDF.

Here is an example: http://book.xogeny.com/_images/ModelicaByExample.Components.Rotational.VerboseApproach.Inertia.svg

When I feed this into imagemagick, cairosvg or rsvg-convert then what I get looks like the attached inertia.pdf. Not OK at all. Trying the conversion with Inkscape is somewhat better but still the connector placement is not right. See attached inertia2.pdf

Attachments (3)

inertia2.pdf (6.7 KB ) - added by Dietmar Winkler 10 years ago.
generated by inkscape
intertia.pdf (6.7 KB ) - added by Dietmar Winkler 10 years ago.
generated by magemagick, cairosvg, rsvg-convert
inertia.pdf (3.1 KB ) - added by Dietmar Winkler 10 years ago.
generated by magemagick, cairosvg, rsvg-convert

Download all attachments as: .zip

Change History (8)

by Dietmar Winkler, 10 years ago

Attachment: inertia2.pdf added

generated by inkscape

by Dietmar Winkler, 10 years ago

Attachment: intertia.pdf added

generated by magemagick, cairosvg, rsvg-convert

by Dietmar Winkler, 10 years ago

Attachment: inertia.pdf added

generated by magemagick, cairosvg, rsvg-convert

comment:1 by Adeel Asghar, 10 years ago

Owner: changed from Adeel Asghar to Martin Sjölund
Status: newassigned

comment:2 by Martin Sjölund, 10 years ago

Owner: changed from Martin Sjölund to Adeel Asghar

comment:3 by Dietmar Winkler, 9 years ago

Milestone: Future1.9.4
Resolution: fixed
Status: assignedclosed

Not sure what has changed and when but I've just tested it again and the PDF generated from the SVG looks fine now. So I close this ticket.

comment:4 by Martin Sjölund, 9 years ago

Milestone: 1.9.41.9.4-1.9.x

Milestone renamed

comment:5 by Martin Sjölund, 9 years ago

Milestone: 1.9.4-1.9.x1.9.4

Milestone renamed

Note: See TracTickets for help on using tickets.