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

RE: FW: Font-family specification

From: Benjamin C. W. Sittler <bsittler@mailhost.nmt.edu>
Date: Fri, 26 Jan 1996 14:22:39 -0700 (MST)
To: "Chris Wilson (PSD)" <cwilso@microsoft.com>
Cc: "www-style@w3.org" <www-style@w3.org>
Message-Id: <Pine.SUN.3.91.960126140718.22224A-100000@dunn>
On Fri, 26 Jan 1996, Chris Wilson (PSD) wrote:

>... The draft says "..., and spaces in font family names 
> are replaced with dashes."  This makes me as an implementor believe that 
> spaces are only allowed when they are translated to dashes, quoted or not 
> (i.e., even quoted spaces would be translated to dashes).  The examples do 
> not quote, either, which makes me not think about using quotes to protect 
> spaces within individual family names.

This is probably a bit of X-Windows-centric language that was left in the 
draft accidentally. Under X, for example, one would handle "Lucida Sans 
Bold" as a reference to the font "lucidasans-bold". Under MS Windows or 
MacOS, it would probably be interpreted as the modifier "bold" applied to 
the font "Lucida Sans" instead. 

I think the syntax for font family names should be consistent with the 
rest of CSS (and HTML) grammar in delimiting font names with whitespace 
and using quotes (either single or double, if we want to be consistent 
with SGML and thus HTML) around all names which contain spaces or other 
"special" characters. Single words with no special characters, on the 
other hand, should not require quoting, also for consistency with {HT,SG}ML. 

Benjamin C. W. Sittler

(my example, including "bold" as it does, is probably not realistic. it 
 should not be seen as an endorsement for ignoring the usual css method of
 font-weight selection. i really used it to show an example of 
 blank->dash conversion in real-life font names)
Received on Friday, 26 January 1996 16:26:51 GMT

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