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

Initial response for font-style issue?

From: Kalle Raita <kraita@nvidia.com>
Date: Fri, 18 Apr 2008 10:44:48 +0200
Message-ID: <85DD8D3F1695004A8A9A5AC16CE584BE06962D96@deemmail01.nvidia.com>
To: <www-svg@w3.org>

Hi All,
I posted the mail below on March 14th requesting clarification about
of font-style property. As it stands, we soon have to make some
decisions related to this matter. So, it would be nice if the WG could
some indication of the direction the decision is likely to go. Private
of the members are also appreciated. 

Link to original:

And as text:

Hi All,
The specification gives 'all' as the default value of <font-face>
 "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:
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?

  - Kalle Raita

Kalle Raita 
NVIDIA Corporation 
Tel. +358 40 723 1441 
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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:54:18 UTC