W3C home > Mailing lists > Public > www-style@w3.org > August 2006

Re: Web Fonts

From: Philip TAYLOR <P.Taylor@Rhul.Ac.Uk>
Date: Thu, 24 Aug 2006 17:20:12 +0100
Message-ID: <44EDD1BC.7080107@Rhul.Ac.Uk>
To: Håkon Wium Lie <howcome@opera.com>
CC: www-style@w3.org



Håkon Wium Lie wrote:

> Indeed. Instead of writing 

[snip]

> you would write:
> 
>     h1 { font-familiy: Headline, url(http://example.com/fonts/hdl.zip), serif }
> 
> It's an obvious simplification. So obvious that several people --
> including Dave Raggett and Dave Hyatt -- independently have proposed
> it.

But it's ugly.  Ugly ugly ugly.  "Font-family: " currently
takes a comma-separated list and falls back to the n+1th
entry if it can't access the nth.  In your syntax, it's
unclear whether it falls back from "Headline" to
"url(http://example.com/fonts/hdl.zip)", or whether
"Headline" is a priori assumed to come /from/ "url(http://example.com/fonts/hdl.zip)"
(In the snipped code, it clearly came /from/ "url(http://example.com/fonts/hdl.zip)"
rather than falling back to it.)  And if it is intended that
it fall back to "url(http://example.com/fonts/hdl.zip)", from which
of the many possible entries in the ZIP file is it assumes to take
the font ?

Philip Taylor
Received on Thursday, 24 August 2006 16:17:43 GMT

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