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

Re: [css3-fonts] Editorial: @font-face never uses the family name in the downloaded font data

From: Simon Sapin <simon.sapin@kozea.fr>
Date: Mon, 28 Jan 2013 12:37:36 +0100
Message-ID: <51066300.1020603@kozea.fr>
To: John Daggett <jdaggett@mozilla.com>
CC: www-style list <www-style@w3.org>
Le 28/01/2013 12:18, John Daggett a écrit :
> Simon Sapin wrote:
>> In §4.2 Font family: the font-family descriptor:
>>> This descriptor defines the font family name that will be used in
>>> all CSS font family name matching, overriding font family names
>>> contained in the underlying font data.
>> This seems to imply that the family names in the downloaded data are
>> used if the font-family descriptor is not provided. But this is not
>> the case according to §4.1:
>>> @font-face rules require a font-family and src descriptor, if
>>> either of these are missing the @font-face must be ignored.
> Simon, I don't see how rules covering the lack of*descriptors*  in any
> way contradicts the fact that font family names contained within font
> data are ignored.  The value of the 'font-family' and 'src'
> descriptors is in no way related to the font family name given within
> font data.  Conflating "family names in the downloaded data" with
> "value of the font-family descriptor" seems like a simple
> misreading of the spec as written.

Ok, it’s minor, and it might just be me mis-reading "overriding".

Simon Sapin
Received on Monday, 28 January 2013 11:38:05 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:07 UTC