W3C home > Mailing lists > Public > www-font@w3.org > April to June 2010

Re: [css3-fonts] low-level font features

From: Tal Leming <tal@typesupply.com>
Date: Tue, 22 Jun 2010 09:55:05 -0400
Cc: www-font <www-font@w3.org>
Message-Id: <1C9F7124-5855-4D57-8201-09F8D35134D3@typesupply.com>
To: John Daggett <jdaggett@mozilla.com>

On Jun 21, 2010, at 10:48 PM, John Daggett wrote:

> For OpenType fonts, the example below would be valid syntax but would be
> effectively ignored since neither of the tags are valid OpenType feature
> tags:
> 
>  font-feature-settings: this(5), that(0);

Regarding "effectively ignored": Would the UA have a list of the registered feature tags and skip anything that isn't in that list or would it accept everything and pass the responsibility for filtering to the text layout engine? The OpenType spec allows the use of unregistered feature tags [1]. If a font has such a feature defined, say LOLZ feature in GSUB, could it be accessed like this?

	font-feature-settings: LOLZ;

(I apologize for opening a can of worms. :-)

Tal

[1] http://www.microsoft.com/typography/otspec/featuretags.htm: "The tag space defined by tags consisting of four uppercase letters (A-Z) with no punctuation, spaces, or numbers, is reserved as a vendor space. Font vendors may use such tags to identify private features."
Received on Tuesday, 22 June 2010 13:55:38 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:37:34 UTC