Wakamai-Fondue / wakamai-fondue-engine

The engine that powers Wakamai Fondue
Apache License 2.0
51 stars 12 forks source link

Use upstream font.js 🎉 #27

Closed pascalw closed 4 years ago

pascalw commented 4 years ago

This PR replaces our Font.js fork with upstream Font.js 🎉

Font.js upstream is now sufficiently compatible with node.js. Only thing we're now patching still is defining globals for WOFF and WOFF2 support, but that's OK. Note that Font.js is not on NPM yet, so it's still vendored in the repo via git subtree.

I've also unified browser.js and index.js in the process, since there's no need to differentiate between browser and node anymore. Note this is a breaking change, but should be fine as we're still beta :-)

See PRs for site and CLI.

pascalw commented 4 years ago

Protip for reviewing: ignore the changes in third_party/font.js :-)