W3C home > Mailing lists > Public > www-style@w3.org > January 2012

[css3-fonts] Clarification on Font Descriptors

From: divya manian <divya.manian@gmail.com>
Date: Sat, 28 Jan 2012 15:07:38 -0800
Message-ID: <CAEABwJ_n7GmMM4d3yFxAJfHwAYo2TSj4PLR2M8qtRausAUwFQQ@mail.gmail.com>
To: www-style@w3.org
In description of application of synthetic styling on fonts specified
in @font-face rule, the spec states:

"User agents that implement synthetic bolding and obliqueing must only
apply synthetic styling in cases where the font descriptors imply this
is needed, rather than based on the style attributes implied by the
font data."

I understand that this implies that UAs should reject the data that
fonts themselves provide to their boldness/obliqueness instead use
font descriptors to guide them in this. But from what I know, none of
the browsers apply synthetic styling even when font-weight: bold; is
set on @font-face rule and the selector uses a normal font-weight. See
example [1]

So, what does this sentence mean? Does any browser do synthetic
styling based on font-descriptors? I only know they do so based on
font-weight/font-style properties that are used where the fonts
themselves are referenced.

- divya

[1] http://jsfiddle.net/nimbu/WYZGM/
Received on Saturday, 28 January 2012 23:08:26 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:10 UTC