woff2sfnt-sfnt2woff

SFNT to WOFF / WOFF to SFNT Converter

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
woff2sfnt-sfnt2woff
1.0.04 years ago4 years agoMinified + gzip package size for woff2sfnt-sfnt2woff in KB

Readme

SFNT to WOFF / WOFF to SFNT Converter
forked from https://github.com/odemiral/woff2sfnt-sfnt2woff
Node.js font converter capable of converting SFNT (TrueType, OpenType) font files to WOFF

Usage

To convert fonts from woff2sfnt invoke the script from the command line:
woff2sfn.js input.ttf output.woff
To convert fonts from sfnt2woff invoke the script from the command line:
sfnt2woff.js input.woff output.otf

Dependencies

pako

License

MIT License

TODO

Implement a decoder/encoder for WOFF2
Implement a support for Metadata and Privatedata blocks