Skip to content
Font converter to convert woff2ttf, wof2otf & ttf2woff, otf2woff
JavaScript
Branch: master
Clone or download
Latest commit 203ea19 Jan 13, 2015
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
node_modules/pako initial commit Jan 14, 2015
README.md
index.js initial commit Jan 14, 2015
sfnt2woff.js initial commit Jan 14, 2015
woff2sfnt.js initial commit Jan 14, 2015

README.md

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

You can’t perform that action at this time.