W3C home > Mailing lists > Public > www-svg@w3.org > July 2010

Re: letter-spacing with text-anchor middle

From: Doug Schepers <schepers@w3.org>
Date: Thu, 08 Jul 2010 12:45:49 -0400
Message-ID: <4C3600BD.5050402@w3.org>
To: Tavmjong Bah <tavmjong@free.fr>
CC: "www-svg@w3.org" <www-svg@w3.org>
Hi, Tav-

Tavmjong Bah wrote (on 7/8/10 11:34 AM):
>
> 	I would just like to clarify that when using letter-spacing not equal
> to zero, that there should not be space added/subtracted after the last
> character in a line. This may affect the positioning of text when
> text-anchor is set to middle. I note this as Batik 1.7 adds space after
> the last letter and thus centering text does not work as expected.
> (Opera/Firefox do not support letter-spacing. Chrome/Inkscape do not add
> space after the last letter.)
>
> 	I have created a test SVG:
>
> http://tavmjong.free.fr/INKSCAPE/SVG_TESTS/text_letter_spacing_alignment.svg

Good point.  Is this ambiguous in SVG 1.1 and SVGT 1.2?  If so, we 
should raise an issue on it for SVG2, and maybe an errata for earlier 
versions of SVG.

Regards-
-Doug Schepers
W3C Team Contact, SVG and WebApps WGs
Received on Thursday, 8 July 2010 16:45:51 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:45 GMT