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

Re: FW: Font-family specification

From: Hakon Lie <Hakon.Lie@sophia.inria.fr>
Date: Fri, 2 Feb 1996 11:01:29 +0100
Message-Id: <199602021001.LAA09536@www4.inria.fr>
To: preece@predator.urbana.mcd.mot.com (Scott E. Preece)
Cc: cwilso@microsoft.com, www-style@w3.org
Scott E. Preece writes:

 > Chris has interpreted the draft as allowing multiple font-family names
 > in the specification of the font property.  That took me a little by
 > surprise, but I guess the spec actually does imply that is allowed.  If
 > this is correct, I agree with Chris that expecting to be able to
 > distinguish a font-family from a font-weight from a font-style by value
 > is unacceptable.

Why? Do we have any fonts called "bold", "demi-bold" or "2.3"? What is
the chance of someone naming a new font that will conflict?  If that
happens one will have to use the 'font-family' property instead of
'font', but that is a minor (and highly unlikely) inconveniece.

The 'font' property is a shorthand notation intended to make life
easier if you write style sheets by hand. The syntax is an old
typographic convention. Requireing extra punctuatation in the value
defeats the purpose of the property.

Another solution is to limit the number of font names to 1 in the
'font' property:

 a)  font: 12pt/14pt sans-serif bold;  /* legal */
 b)  font: 12pt/14pt helvetica sans-serif bold;  /* illegal? */

I would prefer also allowing b).

Regards,

-h&kon

Hakon W Lie, W3C/INRIA, Sophia-Antipolis, France
http://www.w3.org/People/howcome  howcome@w3.org
Received on Friday, 2 February 1996 05:22:25 GMT

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