ref: 2969e897603556603bc93dae4396957fed79b9eb
parent: 7ef11b69908baa70deda8460b4f4a6978f46d61b
author: Ali Gholami Rudi <ali@rudi.ir>
date: Sat Oct 4 13:32:45 EDT 2014
gen.sh: the second argument of otfconv is the input font
--- a/gen.sh
+++ b/gen.sh
@@ -44,7 +44,7 @@
{
TTF="/tmp/.neatmkfn.ttf"
# convert the OTF file to TTF using fontforge
- echo -e "Open(\"$3\")\nGenerate(\"$TTF\")" | fontforge >/dev/null 2>&1
+ echo -e "Open(\"$2\")\nGenerate(\"$TTF\")" | fontforge >/dev/null 2>&1
ttfconv $1 $TTF $3 $4 $5 $6 $7
rm $TTF
}