calixte
in the text layer the spans are coming in order they are in the pdf: visually you could read "foo" and then "bar" but in the pdf it could be write "bar" at (100, 0) then write "foo" at (0, 0) so in the text layer you'll get span bar at 100, 0 and then span foo at 0, 0
so if you don't take care about the order, you'll read "bar foo"
https://matrix.to/#/!NofDvGEWAARHltVRTj:mozilla.org/$_xHkugtYUecCEBtYwmBwUfp7fVtZmq7Am48v9FBhIqs?via=mozilla.org&via=matrix.org&via=nope.chat
calixte in the text layer the spans are coming in order they are in the pdf: visually you could read "foo" and then "bar" but in the pdf it could be write "bar" at (100, 0) then write "foo" at (0, 0) so in the text layer you'll get span bar at 100, 0 and then span foo at 0, 0 so if you don't take care about the order, you'll read "bar foo"