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

Re: Downloadable fonts and image replacement

From: fantasai <fantasai.lists@inkedblade.net>
Date: Sun, 30 Apr 2006 20:22:29 -0400
Message-ID: <445554C5.9030506@inkedblade.net>
To: www-style@w3.org

Håkon Wium Lie wrote:
> Now, if webfonts are introduced along with text-replacement there
> might be a conflict. Consider this example:
>   h1 {
>     content: url(img/100x100.gif), contents;
>     font-family: url(/fonts/goodfish.zip), serif;
>   }
> In the above example, the order of preference is clear; first the
> image, then the webfont, and finally the generic "serif" font.
> However, it is not possible to express this order of preference which
> often makes more sense: webfont, image, generic font. One way to
> address this issue is to put the order of preference on one property:

You're missing an important part of the usual set of preferences:
Usually you want to /preferably/ use the font installed on the system,
if it's there. Any proposal needs for resolving this conflict needs
to address that as well..

Received on Monday, 1 May 2006 00:22:38 UTC

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