Markers scaled incorrectly when no viewBox is specified
Bug #1690952 reported by
Patrick Storz
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
New
|
Undecided
|
Unassigned |
Bug Description
If a marker does not specify a viewBox Inkscape uses the full size of this marker when scaling to path width.
E.g. if a marker defined as a square with dimensions 10 x 10 px² is rendered on a path with stroke-
However if I understand the spec [1] correctly in this case the defaults for markerWidth/
The latter implementation is used by Firefox and librsvg.
(I'm attaching a testcase as well as renderings of Inkscape, Firefox and librsvg)
To post a comment you must log in.
Another issue (maybe related, maybe not) is that Inkscape fails to render the marker (see attached screenshot).
It seems the markers size is limited to the page size. Only at very small zoom levels the whole marker is shown. (This is also true for a huge marker with viewBox, i.e. one that is rendered in the correct size in principle)