Comment 5 for bug 596842

Revision history for this message
su_v (suv-lp) wrote :

The marker that fails to render in cairo-based exports has two <path> elements as content, the first one is hidden (display:none), the second one is the diagonal tick (display:inherit).

Cairo-based exports seem to only read one element (the first in stack order) of the <marker> content. Moving the visible diagonal line ahead of the hidden diamond shape makes the marker export correctly to PDF/EPS/PS (see attached SVG file with changed z-order of the two paths inside the marker definition).

I'm not firm enough interpreting the marker definition in the SVG 1.1 specification [1] if the contents of a marker definition need to be grouped when the marker is drawn with several SVG shapes, but since other SVG renderers (e.g. Squiggle, based on Batik 1.7) also render the diagonal mark as expected, it seems that cairo-based export from Inkscape incorrectly parses the content of a marker definition and not that the marker generated by Signavio does not adhere to the SVG 1.1 spec.

[1] <http://www.w3.org/TR/SVG11/painting.html#MarkerElement>