ref: 0209ff9b1eace714f78b55e8bf6cc1379d2fa7c4
parent: 793c8584574eb1e92a9c0f4483bcf7d428c0a791
author: Ali Gholami Rudi <ali@rudi.ir>
date: Tue Mar 27 14:00:47 EDT 2018
gen.sh: pass font path to mkfn
--- a/gen.sh
+++ b/gen.sh
@@ -22,7 +22,7 @@
afmconv()
{
echo $1
- cat $2 | ./mkfn -a -b -r$RES -t "$1" $3 $4 $5 $6 $7 | \
+ cat $2 | ./mkfn -a -b -r$RES -t "$1" -f "$2" $3 $4 $5 $6 $7 | \
sed "/^ligatures /s/ $LIGIGN//g" >$TP/$1
}
@@ -30,7 +30,7 @@
ttfconv()
{
echo $1
- cat $2 | ./mkfn -b -l -o -r$RES $SCR -t $1 $3 $4 $5 $6 $7 | \
+ cat $2 | ./mkfn -b -l -o -r$RES $SCR -t $1 -f "$2" $3 $4 $5 $6 $7 | \
sed "/^ligatures /s/ $LIGIGN//g" >$TP/$1
}