font-blast
font-blast copied to clipboard
Support buffer input?
Current library API only supports file:
fontBlast('font-awesome.svg', 'fa-icons');
It would be nice to support buffer input :)
Thanks for the thought!
I thought this library would be used once to generate files from relatively small SVG fonts. The advantage of buffer inputs seems a bit unclear for me - could you please share your use-case? Thanks!
Hi, I was writing a script to download and extract icons from fontello.com. Currently I feed a temp file to this interface to extract svgs.
Ah I see how this could be limiting. I'll try to add that feature in shortly.
On a related topic, here are undocumented examples of how I did the same thing last time (also through a temp file) https://github.com/eugene1g/font-blast-examples/blob/master/popular-fonts.js