Skip to content
Converts woff files to otf files in the browser
Branch: master
Clone or download
Pull request Compare This branch is 1 commit ahead of hanikesn:master.
Latest commit 57a5bb8 Nov 21, 2014
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore converted to JavaScript Nov 21, 2014
README.md converted to JavaScript Nov 21, 2014
woff2otf.js converted to JavaScript Nov 21, 2014

README.md

woff2otf

This is a small utility to convert WOFF files to the OTF font format. It uses Javascript, so you can run it in the browser. It depends on the port of zlib to javascript, you need to include this file in your page. Or just go to this page to convert WOFF to OTF online.

Usage

convert_streams(<ArrayBuffer>)  // returns <ArrayBuffer> containing OTF font

Credits

Big thanks to Steffen Hanikel for his Python implementation of this script, which I later converted to Javascript.

You can’t perform that action at this time.