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

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

From: fantasai <fantasai.lists@inkedblade.net>
Date: Thu, 25 Feb 2010 19:10:41 -0800
Message-ID: <4B873BB1.5040501@inkedblade.net>
To: "Adam Twardoch (List)" <list.adam@twardoch.com>
CC: www-style <www-style@w3.org>
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 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:24 GMT