Re: Web Fonts

Also sprach Ian Hickson:

 > But it isn't; I believe the idea howcome suggested would allow for 
 > multiple TTF files to be included in the .zip file, such that the other 
 > font properties would select the right font from the zip file.

Indeed. Instead of writing 

    @font-face {
        font-family: Headline;
        src: url(http://example.com/fonts/hdl);
    }
    ...
    h1 {font-family: Headline, serif}

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.

-h&kon
              Håkon Wium Lie                          CTO °þe®ª
howcome@opera.com                  http://people.opera.com/howcome

Received on Thursday, 24 August 2006 10:44:02 UTC