diff --git a/bin/fonttosvg b/bin/fonttosvg new file mode 100755 index 0000000..4566c2a --- /dev/null +++ b/bin/fonttosvg @@ -0,0 +1,7 @@ +#!/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;' $@