W3C home > Mailing lists > Public > www-style@w3.org > February 2014

Re: [css-fonts] Named Stylistic Sets

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Mon, 17 Feb 2014 08:03:26 -0800
Message-ID: <CAAWBYDAuq5Wc-CGWFGQDMYS8ryq4V1mV4=cwJfuFOo5nyPkidg@mail.gmail.com>
To: Christoph Päper <christoph.paeper@crissov.de>
Cc: www-style list <www-style@w3.org>
On Mon, Feb 17, 2014 at 8:01 AM, Christoph Päper
<christoph.paeper@crissov.de> wrote:
> Tab Atkins Jr. <jackalmage@gmail.com>:
>> On Sat, Feb 15, 2014 at 12:28 PM, Christoph Päper
>>> It is possible, in Open Type Format 1.6, to specify human readable names for stylistic sets (…) and character variants (…).
>>>
>>> Should the ‘character-variant()’ and ‘styleset()’ values of the ‘font-variant-alternates’ property be made to accept these?
>>
>> Generally, when a name comes from outside CSS, we represent it
>> internally as a string rather than an ident.  (…)
>>
>> So yes, it's possible to have the style functions accept these names,
>> but they'd probably be done as strings.
>
> That means quotation marks would make the difference and there would be no namespace conflict (which I tried to solve by prepopulating)?
>
>   font-variant-alternates: character-variant("Font-defined Name") styleset(userdefinedname)

Yup, exactly.

~TJ
Received on Monday, 17 February 2014 16:04:16 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:19 UTC