Hi Ludwig,

SVG 1.1 full only knows hard line breaks with <tspan /> elements and a x/dy attribute.

Spaces can be preserved by using the xml:space="preserve" attribute.

Batik, is, however the first SVG viewer that also has flow text. See the batik website for more information.

Andreas

Ludwig Reiter wrote:
Hi,

I got a string with spaces, tabs and newlines and used this to create a Text
node,
but unfortunatly spaces, tabs and newlines are not displayed on the screen.
How can I change this?

Regards,
 Ludwig Reiter


--
----------------------------------------------
Andreas Neumann - Institute of Cartography
Swiss Federal Institute of Technology (ETH)
ETH Hoenggerberg
CH-8093  Zurich, Switzerland
Phone: ++41-1-633 3031, Fax: ++41-1-633 1153
e-mail: [EMAIL PROTECTED]
www: http://www.carto.net/neumann/
SVG.Open: http://www.svgopen.org/
Carto.net: http://www.carto.net/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to