Mid-markers missing on ends of sub-paths
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
Low
|
Johan Engelen |
Bug Description
Continuation of bug 417597.
Inkscape does not draw the mid-markers on the ends of sub-paths as per the SVG spec. The spec states:
'marker-start' defines the arrowhead or polymarker that shall be drawn at the first vertex of the given 'path' element or basic shape. 'marker-end' defines the arrowhead or polymarker that shall be drawn at the final vertex. 'marker-mid' defines the arrowhead or polymarker that shall be drawn at every other vertex (i.e., every vertex except the first and last).
Mid-markers should be drawn on every vertex except the first and last of a 'path', thus mid-markers should be drawn on the ends of sub-paths except where the end corresponds to an end of a path. Firefox, Opera, and Batik all agree with this interpretation.
A test SVG file is attached. This test file should replace that submitted in bug 417597 (it covers both cases and it has been cleaned up).
Confirmed with Inkscape 0.46+devel r22531+patch on OS X 10.5.8
(patch from bug #417597 applied to r22531)