Hello,
i found a strange positioning of tspans in a text element.
<svg:svg xmlns:svg="
http://www.w3.org/2000/svg">
<svg:text style="text-anchor:middle;" font-size="35">
<svg:tspan x="100" y="140">PositionBug</svg:tspan> <svg:tspan x="100"
y="155">PositionBug</svg:tspan> <svg:tspan x="100"
y="170">PositionBug</svg:tspan>
</svg:text>
<svg:text style="text-anchor:middle;" font-size="35">
<svg:tspan x="350" y="140">no PositionBug</svg:tspan><svg:tspan x="350"
y="155">no PositionBug</svg:tspan><svg:tspan x="350" y="170">no
PositionBug</svg:tspan>
</svg:text>
</svg:svg>
can you tell me, why all tspan (but not the last one) in a text element
is shifted a few pixel to the left if they are followed by a whitespace?
If there are no whitespace the positioning is done as expected.
Be aware that IE (adobe svg) and webkit consider a line break not as a
white-space in XML, but Opera and Firefox do.
--
best regards
Holger