- From: Bert Passek <nucleareffe@gmx.de>
- Date: Sat, 5 Jul 2008 06:08:28 +0000 (UTC)
- To: www-svg@w3.org
Helder Magalhães <helder.magalhaes <at> gmail.com> writes: > The "xml:space" property controls the XML processor's white space > handling [1]. Setting it to "preserve" leads to all whitespace being > kept for processing. That's exactly why your text is being > repositioned - it contains leading (and trailing) white space ! > > To achieve the (apparently) desired effect, one should trim remove all > undesired whitespace: Hi, yes you are right. It's so simple. I was using batik to generate the svg. I'm sure the text of the text node doesn't contain any leading spaces. So somehow i have to tell batik to write the text without formatting spaces e.g. I will have a look. Thanks. Bye
Received on Saturday, 5 July 2008 06:10:33 UTC