Markers non exported to PDF

Bug #596842 reported by Michele Mancioppi
26
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Inkscape
Invalid
Medium
Unassigned

Bug Description

Some markers are not exported by Inkscape 0.47 on Mac OS X (I have not tried other versions on other OSes).
The attached SequenceFlowDefault.svg file can be used to reproduce the bug. When I export that file to PDF or PNG (I have not tried to export to other formats), the slash-shaped marker at the left end of the arrow does not appear in the resulting file.

Revision history for this message
Michele Mancioppi (michele-mancioppi) wrote :
Revision history for this message
Michele Mancioppi (michele-mancioppi) wrote :
Revision history for this message
su_v (suv-lp) wrote :

reproduced with Inkscape 0.47+devel r9515 on OS X 10.5.8

Do you know which software was used to originally create the drawing? Did you paste or import it from a PDF or EPS file and possibly still have the original? The markers are not part of Inkscape's stock markers and appear to be the result of a conversion from a different file format or output from another application (when looking at the file structure and the auto-generated names of the IDs).

tags: added: markers
Changed in inkscape:
status: New → Confirmed
Revision history for this message
Michele Mancioppi (michele-mancioppi) wrote : Re: [Bug 596842] Re: Markers non exported to PDF

The software is Signavio (http://academic.signavio.com), an web-based
collaborative editor for BPMN diagrams.
The SVG is the one that is exported by the service, which I later opened
using Inkscape, and then exported to the attached PDF.
I know that Signavio uses custom symbol palettes, which explains why the
marker is not one of Inkscape's stock markers.

On Mon, Jun 21, 2010 at 1:58 PM, ~suv <email address hidden> wrote:

> reproduced with Inkscape 0.47+devel r9515 on OS X 10.5.8
>
> Do you know which software was used to originally create the drawing?
> Did you paste or import it from a PDF or EPS file and possibly still
> have the original? The markers are not part of Inkscape's stock markers
> and appear to be the result of a conversion from a different file format
> or output from another application (when looking at the file structure
> and the auto-generated names of the IDs).
>
> ** Tags added: markers
>
> ** Changed in: inkscape
> Status: New => Confirmed
>
> --
> Markers non exported to PDF
> https://bugs.launchpad.net/bugs/596842
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in Inkscape: A Vector Drawing Tool: Confirmed
>
> Bug description:
> Some markers are not exported by Inkscape 0.47 on Mac OS X (I have not
> tried other versions on other OSes).
> The attached SequenceFlowDefault.svg file can be used to reproduce the bug.
> When I export that file to PDF or PNG (I have not tried to export to other
> formats), the slash-shaped marker at the left end of the arrow does not
> appear in the resulting file.
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/inkscape/+bug/596842/+subscribe
>

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>

tags: added: cairo exporting
Changed in inkscape:
importance: Undecided → Medium
Revision history for this message
su_v (suv-lp) wrote :
Revision history for this message
su_v (suv-lp) wrote :

'cairo' tag removed: this is an Inkscape bug: it does not occur when converting to PDF with rsvg-convert.

> reproduced with Inkscape 0.47+devel r9515 on OS X 10.5.8

Also reproduced with Inkscape 0.48.3.1 and 0.48+devel r11469 on OS X 10.7.4 (cairo 1.12.2).

tags: added: eps pdf
removed: cairo
jazzynico (jazzynico)
Changed in inkscape:
status: Confirmed → Triaged
Revision history for this message
Beluga (buovjaga) wrote :

Still repro.

Arch Linux 64-bit, KDE Plasma 5
Inkscape 0.92pre1 15073 (GTK3)

Revision history for this message
Nathan Lee (nathan.lee) wrote :

Hi - thanks for reporting this bug, I've manually migrated it to Inkscape's new
bug tracker on GitLab, and closed it here.

Please feel free to file new bugs about the issues you're seeing at
http://inkscape.org/report.

Moved to: https://gitlab.com/inkscape/inbox/-/issues/4164

Changed in inkscape:
status: Triaged → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.