Only first object in multi-object markers is rendered in pdf
Migrated from https://bugs.launchpad.net/inkscape/+bug/596842, noted in #2097
Steps to reproduce:
- open Inkscape
- open SequenceFlowDefault.svg
- save as pdf
What happened?
-
SequenceFlow.pdf
- on the left side, the marker is not rendered (the first path in the marker is hidden as expected, but the second is absent)
- From su_v on launchpad:
The marker that fails to render in cairo-based exports has two 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 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).
The fact that the first path is hidden is unrelated, it also happens with the sample file from #2097 inkscape-marker-bug.svg
What should have happened?
- All paths in markers rendered, without needing to be grouped