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

Re: FW: Font-family specification

From: Hakon Lie <howcome@w3.org>
Date: Wed, 31 Jan 1996 17:41:23 +0100
Message-Id: <199601311641.RAA03886@www4.inria.fr>
To: www-style@w3.org
Thanks to Chris and others for pointing out potential problems with
the current font specification in CSS1 [1]. There have been 2 proposed
solutions:

 - introducing commas to separate font families, e.g.:

    font-family: new century schoolbook, serif;

 - quoting font familiy names with spaces in them, e.g.:

    font-family: "new century schoolbook" serif;

Both these would solve the problem for the 'font-family' property, but
only the latter would work in the compound 'font' property. E.g., for the
hypothetical font family 'best in bold':

    font: 12pt/14pt best in bold 

Here, it would be ambigous if 'bold' is a part of the font family name
or a value to the 'font-weight' parameter. Unless better solutions are
suggested, I'll add quoting of font family names to the next version
of the specification.

[1] http://www.w3.org/pub/WWW/TR/WD-css1-951222.html

Regards,

-h&kon

Hakon W Lie, W3C/INRIA, Sophia-Antipolis, France
http://www.w3.org/People/howcome  howcome@w3.org
Received on Wednesday, 31 January 1996 11:41:34 GMT

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