W3C home > Mailing lists > Public > www-style@w3.org > September 2010

Re: [css3 fonts] font-specific features

From: John Daggett <jdaggett@mozilla.com>
Date: Mon, 20 Sep 2010 19:57:33 -0700 (PDT)
To: Christopher Slye <cslye@adobe.com>
Cc: www-style <www-style@w3.org>, www-font <www-font@w3.org>
Message-ID: <1407995141.626390.1285037853715.JavaMail.root@cm-mail03.mozilla.org>
Christopher Syle wrote:

> Can I assume that <font-family> here can also be defined by an
> @font-face rule? It's not necessarily dependent on any particular
> font family names in the font itself?

For families defined via @font-face rules, it depends on the
font-family descriptor used in the @font-face rules.  For platform
fonts, it depends on the font family name in the font data (with all
the associated ambiguities across platforms).

> Can <value-name> be shared? Can I define 'swash: swishy 1' for
> FontFamilyOne and 'swash: swishy 3' for FontFamilyTwo, then use
> 'swash(swishy)' to access the alternates in both families?

Yes.  I think this is particularly useful with annotation forms
('nalt'), where fonts often include similar alternates (e.g. circled
numbers, boxed numbers) but use different indices for each.

John Daggett
Received on Tuesday, 21 September 2010 02:58:07 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:49:47 UTC