Re: [css3-fonts] Please add font-variant-caps: all-small-caps and all-petite-caps

On 02/25/2010 06:08 PM, Adam Twardoch (List) wrote:
> I would like to request that font-variant-caps be extended as follows:
>
> <caps-value>  = small-caps | all-small-caps* | petite-caps |
> all-petite-caps* | titling-caps | unicase
>
> small-caps = OpenType smcp
> all-small-caps = OpenType c2sc+smcp (both applied at the same time)
> petite-caps = OpenType pcap
> all-petite-caps = OpenType c2pc+pcap (both applied at the same time)
> titling-caps = OpenType titl
> unicase = OpenType unic
>
> * Denotes the addition.
>
> The rationale behind is that in typical use, you:
> - either use normal uppercase letters mixed with small caps in place of
> lowercase letters (that would be the small-caps case, i.e. OpenType smcp)
> - or use small caps in place of both uppercase and lowercase letters
> (that would be the all-small-caps case, i.e. OpenType c2sc+smcp)
>
> A similar rationale applies to petite caps.
>
> The scenario of users wanting to use small caps in place of uppercase
> letters mixed with normal lowercase letters is very unlikely, but if the
> author wants it, she or he can use font-feature-settings: "c2sc=1".
>
> Similarly, a rather uncommon scenario where the user wants to use small
> caps in place of uppercase letters mixed with petite caps in place of
> lowercase letters is unlikely, but if the authors wants it, she or he
> can use font-feature-settings: "c2sc=1,pcap=1".

Wouldn't
   text-transform: lower-case;
   font-variant: small-caps
or
   text-transform: lower-case;
   font-variant: petite-caps
work?

~fantasai

Received on Friday, 26 February 2010 03:11:19 UTC