Re: incompatibilities in font name specification

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 UTC