Skip to content

v0.1.0

Choose a tag to compare

@Brooooooklyn Brooooooklyn released this 23 Mar 07:40
· 51 commits to main since this release
v0.1.0
551f1c8

Core changes

Support pass params while converting woff2:

Default params convertTTFToWOFF2(ttfFont):

❯ node example/index.mjs
✨ Done in 2298.4580409992486 ms
TTF font length  :  1654412
WOFF2 font length:  729564

convertTTFToWOFF2(ttfFont, { brotliQuality: 7, })

❯ node example/index.mjs
✨ Done in 96.26933399960399 ms
TTF font length  :  1654412
WOFF2 font length:  833340

What's Changed

Full Changelog: v0.0.6...v0.1.0