blakeohare/crayon

Throw exception if fonts are loaded before the window is loaded

blakeohare opened this issue · 0 comments

Since graphical context is often tied to the window, ensure that the window instance is created before a font is loaded in the Graphics2DText library. Currently this is causing Times-New-Roman-ification in JavaScript.