Use Facetype.js to generate typeface.json fonts. http://gero3.github.io/facetype.js/