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

Re: Downloadable fonts and image replacement

From: Dave Raggett <dsr@w3.org>
Date: Tue, 25 Apr 2006 18:11:51 +0100 (BST)
To: Octavio Alvarez Piza <alvarezp@alvarezp.ods.org>
Cc: www-style@w3.org
Message-ID: <Pine.LNX.4.62.0604251751590.9071@localhost.localdomain>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, 25 Apr 2006, Octavio Alvarez Piza wrote:

> I prefer font servers though, because of downloading of ALL 
> glyphs, instead of the ones just needed.

How are font servers supposed to work across the Web?

My computer might know about a font server, but it probably won't 
have the fonts used on your web site, especially fonts that have 
been developed specially for that site. To get around that, the web 
page could specify the URI for a font server. The next question is
what glyphs to ask the font server for, as the whole font may be
too large. The browser could in principle wait for the entire
document to be loaded and figure out for itself what glyphs are
needed, but that precludes incremental display as the document is
being downloaded.

The CSS2 @font-face mechanism includes a means to specify Unicode
ranges, and is intended to be used to avoid checking or downloading 
a font that does not have sufficient glyphs to render a particular 
character. For details, see:

   http://www.w3.org/TR/REC-CSS2/fonts.html

I would suggest that the @font-face mechanism meets your needs,
and that there is also value in a simpler syntax for the case
where a designer just wants to name the URL for a font file with 
font-family if the font isn't already available, and together
with a fallback if the named file can't be downloaded.


  Dave Raggett <dsr@w3.org>  W3C lead for multimodal interaction
  http://www.w3.org/People/Raggett +44 1225 866240 (or 867351)

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFETlheb3AdEmxAsUsRAkzsAJ9ylNM3Hw8bSrRGJv2M158zABAFtQCffmt3
u0tPEuIIsuA9bOyjGq0ZAWA=
=FMXW
-----END PGP SIGNATURE-----
Received on Tuesday, 25 April 2006 17:12:07 GMT

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