@bram_stein Hey, is there an example of this in action anywhere? https://github.com/bramstein/fontloader …
@bram_stein @kennethormandy All. Used document.fonts.ready().then but it fired too early (some text measurements still used fallback fonts).
-
-
@mwichary@kennethormandy AFAIK fonts.ready fires when the document is done loading fonts, and other fonts can load afterwards.Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@mwichary@kennethormandy Basically it fires when all required fonts in the document have loaded. If you add fonts later, it might not work.Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@mwichary@kennethormandy If that is not the case, there might be a bug. Test cases would be great!Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@mwichary@kennethormandy Also, the spec has changed; ready is now an attribute instead of a function (though that hasn't landed in Chrome)Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.