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

SVGt 1.2 Tests: Question about default value of <font-face> font-style

From: Kalle Raita <kraita@nvidia.com>
Date: Fri, 14 Mar 2008 15:35:38 +0100
Message-ID: <85DD8D3F1695004A8A9A5AC16CE584BE05FD4E03@deemmail01.nvidia.com>
To: <www-svg@w3.org>

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, 14 March 2008 14:36:20 GMT

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