Re: [css-fonts] Named Stylistic Sets

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