Sticking the transform several levels up doesn't cut it either - see attached patch, which works for one paragraph, but messes up with multiple ones, stacked in y-direction. The absolute positioning of both text and paths breaks down badly here, and would need rather more involved changes in svgwriter.cxx
I'd leave it with the current fix for 4.0.x, which at least on FF displays nicely.
Created attachment 78666
Not-quite-perfect patch
Sticking the transform several levels up doesn't cut it either - see attached patch, which works for one paragraph, but messes up with multiple ones, stacked in y-direction. The absolute positioning of both text and paths breaks down badly here, and would need rather more involved changes in svgwriter.cxx
I'd leave it with the current fix for 4.0.x, which at least on FF displays nicely.