Pomax / lib-font

This library adds a new Font() object to the JavaScript toolbox, similar to new Image() for images
MIT License
730 stars 72 forks source link

Exploit the FontFace constructor #40

Closed Pomax closed 4 years ago

Pomax commented 4 years ago

Either that, or wrap one. But probably just exploit it.

Pomax commented 4 years ago

While it would be nice to hook into the preexisting FontFace, the more I think about it, the less this belongs on the FontFace element and the more it should stay its own thing.