W3C home > Mailing lists > Public > www-svg@w3.org > March 2008

SVGt 1.2 Tests: Rationale of fonts-elem-05-t

From: Kalle Raita <kraita@nvidia.com>
Date: Wed, 19 Mar 2008 14:33:40 +0100
Message-ID: <85DD8D3F1695004A8A9A5AC16CE584BE060F98B5@deemmail01.nvidia.com>
To: <www-svg@w3.org>

Hi All,
 
Could someone explain the rationale behind the test 
fonts-elem-05-t, please. The test sets different values 
for horiz-origin-x of font. As far as I see, this the
only difference between the three rows in the test.

According to the spec the horiz-origin-x coordinate in
the glyph space should be aligned with the current text 
position. If the x coordinate of the origin is increased,
I'd expect the glyphs move left in the rendered results as 
the origin moves right in the glyph space. I'm assuming two
things: 1) The x coordinate increases to right and 2) the
horiz-origin-x is not added to the coordinates provided in 
the glyps.
(See E.g. http://www.w3.org/TR/SVGMobile12/text.html#CurrentTextPosition
and
 http://www.w3.org/TR/SVGMobile12/fonts.html#FontElement) 

The weird part is that the reference image shows no change between
the rows and the checking aids hint that the writer of the test
expects the glyphs move right. Also, the last line has 
explanation "horiz-adv-x=1000 but ignored", which makes
absolutely no sense to me.

Any and all insights appreciated.

Yours, 
  - Kalle Raita
 

Kalle Raita 
NVIDIA Corporation 
Tel. +358 40 723 1441 
kraita@nvidia.com 
http://eu.nvidia.com <http://eu.nvidia.com/>  

-----------------------------------------------------------------------------------
This email message is for the sole use of the intended recipient(s) and may contain
confidential information.  Any unauthorized review, use, disclosure or distribution
is prohibited.  If you are not the intended recipient, please contact the sender by
reply email and destroy all copies of the original message.
-----------------------------------------------------------------------------------
Received on Wednesday, 19 March 2008 13:36:56 GMT

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