@mathias heh, maybe! I guess until someone implements font events and not woff2 :/ @paul_irish
-
-
Replying to @scottjehl
@scottjehl@mathias@paul_irish subset a WOFF2 font with just one letter, inline in JS. Then compare letter size of this font vs. a fallback2 replies 0 retweets 1 like -
Replying to @derSchepp
@scottjehl <span class="a">x</span> <span class="b">x</span> .a { font-family: 'woff2', sans-serif; } .b { font-family: sans-serif; }1 reply 0 retweets 0 likes -
Replying to @derSchepp
@derSchepp@scottjehl this is a good summation of how https://github.com/zachleat/fontfaceonload … works without the font load API (and typekit’s webfontloader)1 reply 0 retweets 1 like -
Replying to @zachleat
@zachleat@scottjehl Rule number one: The Filament Group shall always ask inhouse first. There's always someone that already invented it! :)1 reply 0 retweets 0 likes -
Replying to @derSchepp
@derSchepp@scottjehl you bring up a good point—my script is async even when used with a data uri. I’ll make an issue.1 reply 0 retweets 1 like -
Replying to @zachleat
@zachleat@derSchepp hmm. Dunno. I figured that was just the nature of onload event patterns, datauri or not.1 reply 0 retweets 0 likes -
Replying to @scottjehl
@scottjehl@zachleat I can't really follow you guys. Which probably matches Filament Group's secret rule number two.1 reply 0 retweets 0 likes -
Replying to @derSchepp
@derSchepp@scottjehl I believe Scott is saying that any data uri test is going to be async b/c it uses onload, a la https://github.com/Modernizr/Modernizr/blob/924c7611c170ef2dc502582e5079507aff61e388/feature-detects/url/data-uri.js#L53 …1 reply 0 retweets 0 likes -
Replying to @zachleat
@zachleat@scottjehl Ah okay. But this one is not, because we would check right away and do not use any (async) callback.1 reply 0 retweets 1 like
@derSchepp @zachleat @scottjehl For future reference, the result of this thread is http://www.filamentgroup.com/lab/woff2.html & https://github.com/filamentgroup/woff2-feature-test … :) 
-
-
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.
JavaScript, HTML, CSS, HTTP, performance, security, Bash, Unicode, i18n, macOS.