Mid-markers are rendered above end-markers

Bug #478157 reported by su_v
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Confirmed
Low
Unassigned

Bug Description

Continuation of bug #456148

If mid marker and end marker overlap
- Inkscape r22557(+patch from bug #456148) draws mid marker on top
- Batik 1.7, Firefox 3.5.3 renders end marker on top of mid marker
- exported PDF draws end marker on top of mid marker

Tags: markers svg
Revision history for this message
su_v (suv-lp) wrote :
Revision history for this message
su_v (suv-lp) wrote :
Revision history for this message
su_v (suv-lp) wrote :
Revision history for this message
Johan Engelen (johanengelen) wrote :

i don't know what determines the rendering order... from what i can understand (and wrote), start markers are rendered first, then midmarkers, then endmarkers. I don't know how the endmarkers end up below midmarkers.

Revision history for this message
Johan Engelen (johanengelen) wrote :

i found out something else: If I change the 2nd path from the left from "m 30,140 -0.5,-100 0,0" to "m 30,140 0,0 -0.5,-100 0,0", the end marker is rendered correctly above the mid marker. If I then change it back, the end marker stays on top of the mid marker. So then the problem is solved, and I cannot get the end marker below the mid marker any more...

Revision history for this message
jazzynico (jazzynico) wrote :

Confirmed on Ubuntu 10.04, Inkscape r9535.

The overlapping order seems to depend on the marker creation order (and it affects all markers, not only middle and end ones). The first created marker is on the top of the second one, and so on.

Thus, an easy but counter-intuitive workaround (for your test case): draw the end marker first!

Changed in inkscape:
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
jazzynico (jazzynico) wrote :

Duplicating a correctly ordered path reverts the displayed marker order. And the workaround is broken is when reloading the file.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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