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

Re: incompatibilities in font name specification

From: Apu Nahasapeemapetilon <petilon@yahoo.com>
Date: Mon, 22 May 2000 21:38:07 -0700 (PDT)
Message-ID: <20000523043807.25049.qmail@web118.yahoomail.com>
To: tobi <ucyur@yahoo.com>
Cc: www-svg@w3.org
Unfortunately neither Adobe nor IBM appear to be
handling this correctly.

I tried the latest versions of the viewers. Adobe
handles 
  font-family:'Comic Sans MS'; 
correctly, but could not display 
  font-family:'Times New Roman';

IBM handles 'Times New Roman' but not 'Comic Sans MS'.

Weird.

Hopefully they will fix these bugs in the next
release.


--- tobi <ucyur@yahoo.com> wrote:
> 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?
> 


__________________________________________________
Do You Yahoo!?
Send instant messages & get email alerts with Yahoo! Messenger.
http://im.yahoo.com/
Received on Tuesday, 23 May 2000 00:38:08 GMT

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