A utility to extract individual SVG files out of a SVG font file. You need to have Inkscape installed and available via the terminal for this to work.
- Clone the repo
- Run
npm install
oryarn
to install the dependencies
- To extract all glyphs in a font file, issue the command
yarn extract -- filename.svg
- To extract just a few glyphs, write their names down in a file, new-line separated, say
glyphs.txt
, and issue the commandyarn extract -- filename.svg glyphs.txt
If you don't use yarn
, issue the command as npm run extract -- filename.svg