summarylogtreecommitdiffstats
path: root/convert.ff
diff options
context:
space:
mode:
authorDaniel Landau2017-08-01 15:40:36 +0300
committerDaniel Landau2017-08-01 15:40:36 +0300
commita0608a14ba7f614b6ead003df38de12efb2feee5 (patch)
tree9e346654b48b8e932188605f03c9626f1354003c /convert.ff
parent3f74d743cb8fa6e86023005271221375457923e5 (diff)
downloadaur-otf-now.tar.gz
Convert automatically to TrueType as well
Diffstat (limited to 'convert.ff')
-rw-r--r--convert.ff7
1 files changed, 7 insertions, 0 deletions
diff --git a/convert.ff b/convert.ff
new file mode 100644
index 000000000000..6709194e18f4
--- /dev/null
+++ b/convert.ff
@@ -0,0 +1,7 @@
+#!/usr/local/bin/fontforge
+# Quick and dirty hack: converts a font to truetype (.ttf)
+Print("Opening "+$1);
+Open($1);
+Print("Saving "+$1:r+".ttf");
+Generate($1:r+".ttf");
+Quit(0);