inkscape add spaces before <tspan>

Bug #1740125 reported by Johannes Kalliauer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Invalid
Undecided
Unassigned

Bug Description

Processing following file: https://commons.wikimedia.org/wiki/File:SVG_Test_TextAlign.svg

Inkscape adds spaces between </tspan> and <tspan> and therfore adds spaces to the text.

f.e.:
 <text x="200" y="60"><tspan text-anchor="end">Einstein's formula: E</tspan><tspan x="200">=mc<tspan baseline-shift="super" font-size="10">2</tspan>

minimal working example:
```svg
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.1//EN' 'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'>
<svg overflow="visible" version="1.1" viewBox="0 0 300 100" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
 <text x="200" y="40" text-anchor="end">Einstein's formula: E</text>
 <text x="200" y="40">=mc<tspan dy="-5" font-size="10">2</tspan></text>
 <text x="200" y="60"><tspan text-anchor="end">Einstein's formula: E</tspan><tspan x="200">=mc<tspan baseline-shift="super" font-size="10">2</tspan></tspan></text>
</svg>

```

Revision history for this message
Johannes Kalliauer (jokalliauer1989) wrote :
description: updated
Revision history for this message
Johannes Kalliauer (jokalliauer1989) wrote :

confirmed on Windows 10, Inkscape 0.92.4 (5da689c313, 2019-01-14)

Revision history for this message
grey tomorrow (gtomorrow) wrote :

Closing because INVALID.

See https://gitlab.com/inkscape/inkscape/-/issues/1535

If you feel this issue has been unjustly closed, please feel free to open a new issue at https://inkscape.org/report . Thank you.

Closed by: https://gitlab.com/greytomorrow

tags: added: bug-migration
Changed in inkscape:
status: New → 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.