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

Re: incompatibilities in font name specification

From: Chris Lilley <chris@w3.org>
Date: Tue, 23 May 2000 16:43:19 +0200
Message-ID: <392A9907.B1A84F7B@w3.org>
To: Apu Nahasapeemapetilon <petilon@yahoo.com>
CC: www-svg@w3.org


Apu Nahasapeemapetilon 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?

font-family: 'Comic Sans MS', someOtherfont, sans-serif

Is the correct syntax. Requiring the spaces to be removed is incorrect; and
implementation which wishes to use something like the PostScript name of
the font (which has no spaces) should remove its own spaces.

--
Chris
Received on Tuesday, 23 May 2000 10:50:18 GMT

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