Ubuntu 20.04, inkscape installed from focal-backports universe, Inkscape 1.1.1 (3bf5ae0d25, 2021-09-20).
The exported png is right. Blue is on top of red in both lines.

On Mon, May 15, 2023 at 3:47 PM <doctormo@gmail.com> wrote:
On Mon, 2023-05-15 at 14:00 +0200, Nicolas Graner wrote:
> 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.)


This appears to be fixed in the latest developer version.

Can you try https://inkscape.org/release/dev/ and see if it's fixed
your side?

If it's not, go ahead and make an issue at https://inkscape.org/report

Best Regards, Martin Owens
_______________________________________________
Inkscape Users mailing list -- inkscape-user@lists.inkscape.org
To unsubscribe send an email to inkscape-user-leave@lists.inkscape.org