bramstein/fontfaceobserver

Understanding the complexity of this library

garygreen opened this issue · 0 comments

Although this library is very lightweight - I'm trying to understand why font-loading needs to be implemented in such a way that you detect based on width/height.

It's probably my poor understanding of font loading in general, but in theory aren't there simpler alternatives such as loading fonts by AJAX (so it's cached in browser), then just resolve the font? It seems hacky to do width/height checks on a timer just to check if font is loaded...?