However if I use an empty tspan (populated with one space) with xml:space="preserve" that tspan is ignored.
Previously in Inkscape 0.48.3.1 r9886 (Jan 29 2013) those tspans were outputted on the PDF basically like a return line. I've searched numerous forums and tried all sorts of combinations but cannot get the current version of Inkscape to output the "empty" tspan.
Can anyone shed any light on this or have any workaround?
Cheers,
Michael
Command:
inkscape -f tspantest.svg -A tspantest.pdf
Full SVG:
Code: Select all
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="524" height="743">
<text x="44" y="208" width="414.00" height="470.00" fill="#744949" font-color="#744949" style="font-size: 26px; font-family: Arial; text-anchor: middle;" transform="matrix(1,0,0,1,8,20)">
<tspan id="text001-001" x="251" dy="" xml:space="preserve">1</tspan>
<tspan id="text001-002" x="251" dy="30" xml:space="preserve"> </tspan>
<tspan id="text001-003" x="251" dy="30" xml:space="preserve">2</tspan>
<tspan id="text001-004" x="251" dy="30" xml:space="preserve">3</tspan>
</text>
<rect x="44" y="184" width="240.5" height="161.27999999999997" fill="none" stroke="#ff0000" style="stroke-dasharray: 5px, 5px;" transform="matrix(1,0,0,1,8,20)"></rect>
</svg>