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 :-)
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.