W3C home > Mailing lists > Public > www-style@w3.org > December 1999

Re: Text-transform: small-caps

From: Matthew Brealey <thelawnet@yahoo.com>
Date: Mon, 6 Dec 1999 03:04:33 -0800 (PST)
Message-ID: <19991206110433.28875.qmail@web906.mail.yahoo.com>
To: www-style <www-style@w3.org>
Cc: Ian Graham <ian.graham@utoronto.ca>
> 
> On Fri, 3 Dec 1999, I wrote:
> 
> > --- I <thelawnet@yahoo.com> wrote:
> > > I think this would be a good value for
> > > text-transform
> > 
> > But of course in
> >
>
http://lists.w3.org/Archives/Public/www-style/1999Nov/0017.html,
> > I suggested :caps and :lowercase, so
> > 
> > P:lowercase {text-transform: uppercase; font-size:
> > 80%}, would be the same as P {text-transform:
> > small-caps}, but much more flexible - you can
> specify
> > the exact size of upper and lower case letters.
> > 
> > This demonstrates the immense power and
> flexibility
> > that this approach delivers.
> > 
> > =====
> >

--- Ian Graham <igraham@smaug.java.utoronto.ca> wrote:
> 
> Except that this is not what small-caps means... 
> 
> A 'small caps' transformation by definition only
> affects lower-case
> characters -- upper case is not changed.
> Furthermore, the "small caps"
> font used for the lower case characters is not
> generally the same as a
> "shrunk" upper case font -- it is a true variant,
> with differences in
> kerning, hinting, etc.
> 

Precisely my point - because this is not what
small-caps means, a more flexible method is needed -
in
http://lists.w3.org/Archives/Public/www-style/1999Nov/0181.html
via 
http://lists.w3.org/Archives/Public/www-style/1999Nov/0179.html
(Daniel Glazman)
and
http://lists.w3.org/Archives/Public/www-style/1999Nov/0177.html
(me),
I pointed out that precisely because small-caps fonts
are often totally at odds, with the font you have
chosen for your body text, if you allow the simulation
of a small-caps font via :lowercase, then you can do
> it is a true variant,
> with differences in
> kerning, hinting, etc.
E.g., P:first-word:lowercase {text-transform:
lowercase; letter-spacing: -1px; font-family:
different}
P {font-family: something}

instead of P:first-word {font-variant: small-caps},
which may result, since the author has no control over
the font selected, in a totally and undesirably
differemt from the P text, thus looking stupid.

=====
----------------------------------------------------------
From Matthew Brealey (http://members.tripod.co.uk/lawnet (for law)or http://members.tripod.co.uk/lawnet/WEBFRAME.HTM (for CSS))
__________________________________________________
Do You Yahoo!?
Thousands of Stores.  Millions of Products.  All in one place.
Yahoo! Shopping: http://shopping.yahoo.com
Received on Monday, 6 December 1999 06:04:45 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:01 GMT