dotfiles/bin/fonttosvg
2013-06-04 13:57:34 +04:00

8 lines
233 B
Bash
Executable File

#!/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;' $@