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

Re: [css3-fonts] @font-face font-family names used in other @font-face rules

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Wed, 6 Mar 2013 14:10:45 -0800
Message-ID: <CAAWBYDCGbt3k+YmvDWtuh+cye5O95uNJXNHpOtmuHFxVm=2zow@mail.gmail.com>
To: Adam Prescott <adam@aprescott.com>
Cc: John Daggett <jdaggett@mozilla.com>, www-style list <www-style@w3.org>
On Tue, Mar 5, 2013 at 2:25 PM, Adam Prescott <adam@aprescott.com> wrote:
> On 5 March 2013 22:22, Tab Atkins Jr. <jackalmage@gmail.com> wrote:
>> Referring back to my earlier emails, you can always "override" a
>> particular style/weight/stretch/unicode-range for a given font name
>> with a new font, by just defining a new @font-face with the same
>> 'font-family' descriptor.
>
> Without giving a src in the second @font-face? In an earlier email I
> tried this very thing:
>
>    @import url(http://fonts.googleapis.com/css?family=Wendy+One);
>
>     @font-face {
>       font-family: "Wendy One";
>       unicode-range: U+26;
>     }
>
> I believe you yourself said that without src this wasn't valid.
>
> Perhaps I'm missing something obvious?

I'm apparently missing something.  Again, *aside* from unicode-range,
what do you want to "override" from another @font-face rule?

~TJ
Received on Wednesday, 6 March 2013 22:11:31 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:25 UTC