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

Re: [css-fonts] local() definition missing

From: Myles C. Maxfield <mmaxfield@apple.com>
Date: Fri, 25 Mar 2016 11:40:37 -0700
Cc: "www-style@w3.org" <www-style@w3.org>
Message-id: <E22E5F58-7E86-4ABC-A40E-1F32288A4A59@apple.com>
To: fantasai <fantasai.lists@inkedblade.net>
It reads to me that font-face-name does not include the “local()”. It seems that we should modify the syntax to be [ <url> [format(<string> #)]? | local(<font-face-name>) ] #

—Myles

> On Mar 23, 2016, at 12:37 PM, fantasai <fantasai.lists@inkedblade.net> wrote:
> 
> # src:	[ <url> [format(<string> #)]? | <font-face-name> ] #
> # ...
> # The locally-installed <font-face-name> argument to local() is
> # a format-specific string that uniquely identifies a single
> # font face within a larger family.
> # ...
> # src: local(Gentium),    /* use locally available Gentium */
> #      url(Gentium.woff); /* otherwise, download it */
> 
> So, is <font-face-name> representing local() or the argument to it?
> Because there seems to be some inconsistency here. :)
> 
> ~fantasai
> 
Received on Friday, 25 March 2016 18:41:08 UTC

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