Hi All,

I have 2 tspan elements in some SVG. The word following is split between the
2 and Batik renders the w on top of the "follo" text. The x coordinates of
the 2 characters are spaced quite far apart compared to other characters so
why does this happen??

        <tspan x="0 7.9157 14.032 16.428 22.544 28.042 33.54 37.668 43.785 
46.909
53.025 59.141 62.862 70.656 73.052 78.55 84.688 88.651 94.767 100.88 104.01
110.12 116.24 120.2 122.6 128.72 132.68 135.79 141.91 144.3 149.8 153.79
159.9 166.02 168.42 170.81 176.31 181.73 184.85 188.82 191.94 198.06 204.17
208.14 211.37 217.49 219.88 222.28" y="141.26" class="ps00 ps222">Unless
otherwise noted in this policy, the follo</tspan>
                        <tspan x="228.4 236.19" y="141.26" class="ps00 
ps223">w-</tspan>

This odd behaviour doesn't happen in inkscape. I hvae attached a cut down
SVG that contains the above 2 tspans and very little else and screenshots of
Batik versus Inkscape rendering.

Any hints on the cause of this behaviour would be very much appreciated.

Thanks,

Chris http://www.nabble.com/file/p25167481/batik-anomaly.svg
batik-anomaly.svg  http://www.nabble.com/file/p25167481/batik.jpg batik.jpg 
http://www.nabble.com/file/p25167481/inkscape.jpg inkscape.jpg 
-- 
View this message in context: 
http://www.nabble.com/tspan-positioning-seems-strange-in-batik-tp25167481p25167481.html
Sent from the Batik - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to