Re: Web Fonts

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 UTC