tried on inkscape 1.2.2 win10

the output png file is right with all blue 321 on top of red 123

yours, BrightHuang

On 5.15 20:00, Nicolas Graner wrote:
Hello all,

I am new to Inkscape and wonder if what follows is a known bug, or an
error of mine. I'm running Inkscape 0.92.4 on Linux Debian 4, so it may
well have long been fixed.

Consider this file:

  <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
    "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
  <svg width="100mm" height="100mm" version="1.1"
    xmlns="http://www.w3.org/2000/svg"
    xmlns:xlink="http://www.w3.org/1999/xlink"
    viewBox="0 0 100 100">
  <text>
    <tspan x="10" y="20" fill="red">123</tspan>
    <tspan x="10" y="20" fill="blue">321</tspan>
  </text>

  <text x="10" y="40" fill="red">123</text>
  <text x="10" y="40" fill="blue">321</text>
  </svg>

When I open it in Inkscape, it correctly shows two lines with a blue 321
on top of a red 123.

When I export it to PNG, the first line appears with the red 123 on top
of the blue 321, as if the tspan's had been processed in reverse order.
(The second line, without tspan's, remains correct.)

Any thoughts?

Thanks,
Nicolas
_______________________________________________
Inkscape Users mailing list -- inkscape-user@lists.inkscape.org
To unsubscribe send an email to inkscape-user-leave@lists.inkscape.org