Opened 7 years ago

Closed 7 years ago

#4467 closed enhancement (wontfix)

OMEdit: Problems with SVG export: line width given by vector-effect

Reported by: Jan Kokert Owned by: Adeel Asghar
Priority: normal Milestone: 1.13.0
Component: OMEdit Version:
Keywords: SVG export line width Cc:

Description (last modified by Jan Kokert)

When I export a Model to SVG, the wires in some SVG renderers look too thick. This is e.g. with Internet Explorer and ImageMagic.
That the Microsoft renderers are crap is no question - still a lot of people are using it :-/

The problem is, that a rather new SVG command is used:
https://wiki.selfhtml.org/wiki/Referenz:SVG/Attribute/vector-effect

Is it possible to add an option to OMEdit to choose to save the SVG in an "older" format, that IE & Co is happy? Probably the export SVG line width could be overridden in general by an option.

This would help me a lot - Thanks!

Change History (3)

comment:1 by Jan Kokert, 7 years ago

Description: modified (diff)

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

The SVGs are exported by Qt drawing to SVG instead of the GUI canvas. In order to change something, I suppose we'd need to figure out which GUI drawing operation it corresponds to and disable that.

comment:3 by Adeel Asghar, 7 years ago

Milestone: Future1.13.0
Resolution: wontfix
Status: newclosed

I could not find any way to generate SVGs in older format.

vector-effect attribute is introduced in version 1.2 which is the default and only version that Qt svg module is based on.

http://doc.qt.io/qt-5/svgrendering.html

Note: See TracTickets for help on using tickets.