Incorrect render of overlapping tspans

Bug #1604654 reported by Duncan
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Inkscape
Invalid
Medium
Unassigned

Bug Description

Multiple tspan elements (in same text element) with the same position do not render their fills correctly. It looks like Inkscape might be rendering in the wrong order.

Key svg code (full svg file attached):

<text y="16" x="5" style="color:#2a2a2a;fill:#2a2a2a">
    <tspan y="16" x="5" style="stroke-linejoin:round;stroke:#ffffff;stroke-width:3px;stroke-opacity:.33333;fill:#ffffff">test</tspan>
    <tspan y="16" x="5" style="stroke-linejoin:round;stroke:#ffffff;stroke-width:6px;stroke-opacity:.16667;fill:#ffffff">test</tspan>
    <tspan y="16" x="5">test</tspan>
</text>

This should render dark grey text with two white glows, but Inkscape renders the text as _white_.

If the final tspan is reordered to be the first one, then Inkscape renders it correctly (as dark grey text), but then other renderers (eg Chrome) render it incorrectly as white.

Tested on development version 15002 on Windows 7.

Tags: svg text
Revision history for this message
Duncan (duncanjmatheson) wrote :
Revision history for this message
Duncan (duncanjmatheson) wrote :
Revision history for this message
Duncan (duncanjmatheson) wrote :
Revision history for this message
jazzynico (jazzynico) wrote :

Thanks for taking the time to file a report!

Bug confirmed on Windows XP with Inkscape 0.48.5, 0.91 and trunk rev. 15028.
Renders as expected in Firefox 48 and Batik 1.7.

Changed in inkscape:
importance: Undecided → Medium
status: New → Triaged
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/1413

Changed in inkscape:
status: Triaged → Invalid
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.