- From: Håkon Wium Lie <howcome@opera.com>
- Date: Fri, 30 Oct 2009 21:49:41 +0100
- To: robert@ocallahan.org
- Cc: www-font@w3.org, www-style@w3.org
Also sprach Robert O'Callahan:
> It seems to me that the font options that are face-dependent (like selecting
> particular alternates) should be in the @font-face rule, since only there
> can you associate options with a particular face. Font options that are
> face-independent (i.e., font options that be applied correctly even without
> knowing in advance which face will be used, like small-caps) should be
> regular CSS properties.
+1
> In a @font-face rule where you specify alternates, you could use a single
> 'src' value and be sure that if the file is not loaded, the alternates will
> not be applied, and do your fallback in font-family rules in the content.
>
> If that turns out to be too cumbersome, we could extend @font-face so that
> you can associate font options with particular sources.
I'd rather not change @font-face to save typing for this, arguably,
narrow use case.
-h&kon
Håkon Wium Lie CTO °þe®ª
howcome@opera.com http://people.opera.com/howcome
Received on Friday, 30 October 2009 20:50:17 UTC