foliojs / fontkit

An advanced font engine for Node and the browser

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fontkit.Font to Buffer

alpaylan opened this issue · comments

I have some Font objects I construct in my program, I would like to turn them back into TTF files so I can embed them into the DOM using FontFace directive. I couldn't find any way to do it using current fonkit API. Is there an easy way to do this?