So I got this font I want to in a <canvas> Element. Chrome seems to load the font on first use, and window.onload(); is called before the font is loaded.
How can I ensure a @font-face font being loaded? Or hook to an event thats called if?
There seems to be a tool for that Google/Typekit WebFont Loader. Great. So how do they do it? I'd like to do it in my own code.