W3C home > Mailing lists > Public > www-svg@w3.org > May 2000

Re: incompatibilities in font name specification

From: tobi <ucyur@yahoo.com>
Date: Sun, 21 May 2000 11:07:38 -0700 (PDT)
Message-ID: <20000521180738.28465.qmail@web3403.mail.yahoo.com>
To: www-svg@w3.org
Cc: Apu Nahasapeemapetilon <petilon@yahoo.com>
Hi Apu,

http://www.w3.org/TR/REC-CSS1#font-family
says:
"
Font names containing whitespace should be quoted:

BODY { font-family: "new century schoolbook", serif }
<BODY STYLE="font-family: 'My own font', fantasy">

If quoting is omitted, any whitespace characters
before and after the font name are ignored and any
sequence of whitespace characters inside the font name
is converted to a single space.
"
I don't know how the various viewers handle this.

Tobi
--- Apu Nahasapeemapetilon <petilon@yahoo.com> wrote:
> Some fonts have blanks in their names.
> 
> Example:
>   font-family:Comic Sans MS;
> 
> The above works OK with IBM SVGView. But Adobe's
> viewer doesn't like it. Adobe viewer only works if
> you remove blanks:
> 
> Example:
>   font-family:ComicSansMS;
> 
> But now the IBM viewer doesn't like it!
> 
> What to do?

=====
Tobias Reif    http://www.tbx67.de/svg/    http://www.tbx67.de
       _/  /      
     /    /    _   /   _  /   _  /  /   /   _  /   _  /   _  /
     _/  /    /   /  /   /  /   /  /   /  /   /  /   /  /   /
   /   _ _/ _ _ _/   _ _/   _ _/ _ _  /   _ _/   _ _/   _ _/
 _/                /      /     _ _ _/  /             /

__________________________________________________
Do You Yahoo!?
Send instant messages & get email alerts with Yahoo! Messenger.
http://im.yahoo.com/
Received on Sunday, 21 May 2000 14:08:09 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 5 November 2012 23:52:47 GMT