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

Re: [css3-fonts] rethinking font load events

From: John Daggett <jdaggett@mozilla.com>
Date: Thu, 6 Sep 2012 21:39:01 -0700 (PDT)
To: Glenn Adams <glenn@skynav.com>
Cc: www-style list <www-style@w3.org>, "Tab Atkins Jr." <jackalmage@gmail.com>
Message-ID: <477682047.5574073.1346992741284.JavaMail.root@mozilla.com>
Glenn Adams wrote:

> I fail to see the relation between load completion and layout
> completion. FontLoader should not be sensitive to layout state, just
> font loading state. Again, I don't see a use case for the notify
> method as has been described thus far. I'd prefer to discuss on this
> ML for the record.

Font loads occur due to layout measuring text, which runs font
matching, which selects faces for a given run of text, which determines
whether fonts need to be loaded or not.  Font loads do not occur if
@font-face rules are defined but never used, that's why font loading
depends upon layout behavior.


Received on Friday, 7 September 2012 04:39:28 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:21 UTC