dotfiles/bin/fonttosvg

8 lines
233 B
Plaintext
Raw Normal View History

2013-06-04 09:57:34 +00:00
#!/bin/bash
# Convert font to set of SVG files
command -v fontforge >/dev/null 2>&1 || { echo >&2 "fontforge not installed."; exit 1; }
fontforge -lang=ff -c 'Open($1); SelectWorthOutputting(); foreach Export("svg"); endloop;' $@