Home

Awesome

SFNT to WOFF / WOFF to SFNT Converter

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