Only first object in multi-object markers is rendered in pdf
Migrated from https://bugs.launchpad.net/inkscape/+bug/596842, noted in inkscape#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 inkscape#2097 inkscape-marker-bug.svg
What should have happened?
- All paths in markers rendered, without needing to be grouped
Version Info:
- 1.1-dev (a69188b5f2, 2020-12-10) Linux Mint 20
- 1.0.1 (3bc2e813f5, 2020-09-07) Windows 10
- 0.92pre1 15073 (GTK3) Arch Linux 64-bit, KDE Plasma 5
- 0.48.3.1 and 0.48+devel r11469 on OS X 10.7.4 (cairo 1.12.2)
- 0.47+devel r9515 on OS X 10.5.8
- 0.47 on Mac OS X