Skip to content

Latest commit

 

History

History
13 lines (8 loc) · 636 Bytes

README.md

File metadata and controls

13 lines (8 loc) · 636 Bytes

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.