From 226d5529321534c3fd50f3253eec996edb2a0639 Mon Sep 17 00:00:00 2001 From: Artem Sapegin Date: Tue, 4 Jun 2013 13:57:34 +0400 Subject: [PATCH] Font to SVG converter. --- bin/fonttosvg | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 bin/fonttosvg 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;' $@