Re: [css3-fonts] opentype font feature support

On Thu, Feb 25, 2010 at 3:54 PM, Jonathan Kew <jonathan@jfkew.plus.com> wrote:
> On 24 Feb 2010, at 22:40, John Daggett wrote:
>
>> I've posted an updated version of the CSS3 Fonts Editor's Draft:
>>
>>  http://dev.w3.org/csswg/css3-fonts/
>
> I just noticed what I think is an omission in section 6.3:
>
>  <alternates-values> = [stylistic(<number>) | contextual | no-contextual | historical-forms
>                         | styleset(<number> [,<number>]) | swash(<number>)
>                         | contextual-swash(<number>) | ornament(<number>)
>                         | alt-annotation(<number>) | ruby]+
>
> appears to only allow one or two styleset() features to be applied. I think this should read:
>
>  <alternates-values> = [stylistic(<number>) | contextual | no-contextual | historical-forms
>                         | styleset(<number>[,<number>]+) | swash(<number>)
>                         | contextual-swash(<number>) | ornament(<number>)
>                         | alt-annotation(<number>) | ruby]+
>
> (note the extra + sign) so that things like:
>
>  font-variant-alternates: styleset(1,3,6,10);
>
> can be used.
>
> JK

Also, in the same section, are each of these mutually exclusive, or
can one specify, say, "<alternates-values> = contextual styleset(6,7)
swash"?

Regards,

T

-- 
"The rat's perturbed; it must sense nanobots! Code grey! We have a
Helvetica scenario!" — http://xkcd.com/683/

Received on Friday, 26 February 2010 00:45:52 UTC