W3C home > Mailing lists > Public > www-style@w3.org > September 2007

Re: The Next Big Thing

From: Rijk van Geijtenbeek <rijk@opera.com>
Date: Sun, 02 Sep 2007 23:11:43 +0200
To: "WWW Style" <www-style@w3.org>
Message-ID: <op.tx1o5txwicz8n2@rijk-01.lan>

On Sun, 02 Sep 2007 09:46:45 +0200, Spartanicus wrote:

> Håkon Wium Lie <howcome@opera.com> wrote:
>>Alistapart has just publihed an article that describes the potential
>>of web fonts in combination with TrueType.
>>  http://www.alistapart.com/articles/cssatten
>>It also contains a small proposal for using media queries to check for
>>web fonts support:
>>  h1 {
>>     font-family: "Trebuchet MS", sans-serif;
>>     letter-spacing: 0.1em;
>>  }
>>  @media all and (web-fonts: "truetype") {
>>    h1 {
>>      font-family: "Primer Apples", sans-serif;
>>      letter-spacing: 0.2em;
>>    }
>>  }
> Forgive my lack of knowledge on this issue, does the proposed method
> allow users to disable web fonts through a user stylesheet which then
> also results in a media query for web fonts to report no support?

I don't think forcing users to write a user stylesheet is an appropiate way to disable downloading of fonts, it should be a separate option. Probably not something to mandate in the spec, but logically needed for implementations that care about user control and limiting bandwidth usage.

Netscape 4 and IE, both supporting @font-face (but not with truetype), have a checkbox somewhere in their settings to enable/disable this. IIRC (last time I tried this must have been IE4...), IE asks you with a popup dialog to allow font downloading the first time you come across a site that uses it.


                                                   Rijk van Geijtenbeek
                                 Opera Software ASA, Documentation & QA
                                  Tweak: http://my.opera.com/Rijk/blog/
Received on Sunday, 2 September 2007 21:11:51 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:30 UTC