Bot releases are visible (Hide)
This release modernizes fontkit to drop Node-specific dependencies so it can more easily be used in the browser.
subset.encodeStream()
has been replaced with subset.encode()
which returns a Uint8Array
.iconv-lite
has been dropped in favor of TextDecoder
.fs
dependencies. This means there is no open
or openSync
method in browser environments.open
now returns a Promise
rather than accepting a callback.