Re: [Inkscape-user] Inkscape Text Rendering Strangeness...

inkscape-user@lists.sourceforge.net schrieb am 03.07.04 23:25:20:
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).
Thanks for the responses, they have helped! I have since fixed the bug by switching to a different XML renderer that doesn't add all that extra whitespace. Because the output is rather ugly, I may write my own output module at some point, but for now this solution works. I'm glad it wasn't a problem with Inkscape ;)
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.
Ok, I've given the librsvg developers a heads up about the issue, so hopefully it will be fixed at some point :) ________________________________________________________________ Verschicken Sie romantische, coole und witzige Bilder per SMS! Jetzt neu bei WEB.DE FreeMail: http://freemail.web.de/?mc=021193
participants (1)
-
Daniel Taylor