shithub: neatmkfn

Download patch

ref: f632b14246bd6a41ad1da9a94cb17b9d4528130d
parent: e500f7739da07daa6dd429d427ef9f49ed849176
author: Ali Gholami Rudi <ali@rudi.ir>
date: Thu Jul 3 11:36:19 EDT 2014

gen.sh: invoke mkfn instead of mktrfn

--- a/gen.sh
+++ b/gen.sh
@@ -24,7 +24,7 @@
 function afmconv
 {
 	echo $1
-	cat $3 | ./mktrfn $4 -a -b -r$RES -t $1 -p $2 | \
+	cat $3 | ./mkfn $4 -a -b -r$RES -t $1 -p $2 | \
 		sed "/^ligatures /s/ $LIGIGN//g" >$TP/$1
 }
 
@@ -32,13 +32,13 @@
 function otfconv
 {
 	FN="$1"
-	AFM="/tmp/.mktrfn.afm"
+	AFM="/tmp/.neatmkfn.afm"
 	if [ "$USELCDF" == "1" ]; then
 		cat $2 | cfftot1 2>/dev/null | t1rawafm >$AFM 2>/dev/null
 	else
 		echo -e "Open(\"$2\")\nGenerate(\"$AFM\")" | fontforge >/dev/null 2>&1
 	fi
-	cat $AFM | ./mktrfn -b -a -r$RES -t $FN -p $FN -k50 | \
+	cat $AFM | ./mkfn -b -a -r$RES -t $FN -p $FN -k50 | \
 		sed "/^ligatures /s/ $LIGIGN//g" >$TP/$FN
 	rm $AFM
 }
@@ -86,7 +86,7 @@
 
 # For otf and ttf files, we assume the postscript name of the font
 # can be obtained by dropping its extension.  Otherwise, remove the
-# -p argument of mktrfn in otfconv function.
+# -p argument of mkfn in otfconv function.
 
 for f in $FP/*.otf $FP/*.ttf
 do