ref: 86b4342af5d18d689718b893651d4b73cea5b4c8
parent: a6f740a7c41f5e618f65e888b8f42b0ad7d8ac3a
author: Ali Gholami Rudi <ali@rudi.ir>
date: Thu Jun 25 12:04:31 EDT 2015
gen.sh: update fontforge invocation Reported by Dirk-Wilhelm Peters <peters@schwertfisch.de>.
--- a/gen.sh
+++ b/gen.sh
@@ -42,7 +42,7 @@
{
TTF="/tmp/.neatmkfn.ttf"
# convert the OTF file to TTF using fontforge
- echo -e "Open(\"$2\")\nGenerate(\"$TTF\")" | fontforge >/dev/null 2>&1
+ fontforge -lang=ff -c "Open(\"$2\"); Generate(\"$TTF\");" >/dev/null 2>&1
ttfconv $1 $TTF $3 $4 $5 $6 $7
rm $TTF
}