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

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