3 Jul
2004
3 Jul
'04
9:24 p.m.
On Sat, 2004-07-03 at 13:10, bulia byak wrote:
Your script adds newlines between <text> and <tspan>. Within <text>, whitespace is meaningful and is displayed as text. Note that Inkscape, when creating <text>, does not leave any extra whitespace inside.
Also note that these documents all specify xml:space="preserve", which affects the way SVG interprets whitespace ("preserve" causes text to be treated in the same way as HTML's <pre> tag does).
As far as I can tell, in this example Inkscape is correct -- if librsvg is not respecting xml:space, then that is a librsvg bug.
-mental