- From: Anne van Kesteren <annevk@opera.com>
- Date: Tue, 20 Jan 2009 12:55:54 +0100
- To: "John Daggett" <jdaggett@mozilla.com>, www-style <www-style@w3.org>
On Tue, 20 Jan 2009 10:16:27 +0100, John Daggett <jdaggett@mozilla.com> wrote: > Example 2 > =============================================== > > @font-face { > font-family: MyFont; > src: local("OpenSymbol"); > } > > @font-face { > font-family: MyFont; > src: local("Times New Roman"); > } > > body { font-family: MyFont, sans-serif; } > > If text contained symbol characters without glyphs in Times New Roman, > glyphs from OpenSymbol would be used. > > Defined this way, authors have the ability to control load behavior > (example 1) and to control fallback behavior (example 2). Wouldn't it be better to simply require using MyFont1 and MyFont2 rather than having some special behavior in case you have several @font-face blocks using the same identifier? I personally would expect the last @font-face rule there to override the first. -- Anne van Kesteren <http://annevankesteren.nl/> <http://www.opera.com/>
Received on Tuesday, 20 January 2009 11:56:40 UTC