- From: Kalle Raita <kraita@nvidia.com>
- Date: Fri, 18 Apr 2008 10:44:48 +0200
- To: <www-svg@w3.org>
Hi All, I posted the mail below on March 14th requesting clarification about handling of font-style property. As it stands, we soon have to make some implementation decisions related to this matter. So, it would be nice if the WG could produce some indication of the direction the decision is likely to go. Private opinions of the members are also appreciated. Link to original: http://lists.w3.org/Archives/Public/www-svg/2008Mar/0053.html And as text: Hi All, The specification gives 'all' as the default value of <font-face> font-style: "If the attribute is not specified, the effect is as if a value of "all" were specified." For the font-style property, i.e. what is applicable for <text>, <tspan>, and <textarea>, the default value is 'normal' Looking at the italic texts in the conformance tests, it seems that at least tests: text-area-220-t text-area-213-t fonts-desc-05-t animate-elem-46-t seem to work better it is assumed that the default value for <font-face> font-style is also 'normal'. On the other hand, at least test text-intro-201-t, based on the reference image, seems to assume that the default value of <font-face> font-style is 'all' as specified. If we have understood the spec correctly, then: a) If the default value 'all' is correct and <font-face> does not specify style, then glyphs specified in that font will be used for all styles of that font as is. Meaning that requesting italic for that font X will give the exactly same glyphs as requesting normal. b) If 'normal' is the default, the user agent will look further for italic variant. If none is found, the user agent has the option of synthezising oblique glyphs to use in place of italic. Option a) is what the spec says, but the conformance tests are pointing to option b). Are the conformance test faulty? 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 Friday, 18 April 2008 08:45:49 UTC