From: fred Date: Wed, 27 Mar 2002 00:35:38 +0000 (+0000) Subject: lilypond-1.3.103 X-Git-Tag: release/1.5.59~988 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=81ced086664d3dce52d80a533c85c78e3f78f754;p=lilypond.git lilypond-1.3.103 --- diff --git a/buildscripts/tfmtoafm.sh b/buildscripts/tfmtoafm.sh deleted file mode 100644 index 3b4f224822..0000000000 --- a/buildscripts/tfmtoafm.sh +++ /dev/null @@ -1,46 +0,0 @@ -#!@SHELL@ -# tfmtoafm.sh --urg - -tfm=$1 -font=`basename $1 .tfm` - -if [ $# -ne 1 -o "$tfm" = "$font" ]; then - echo "Usage: tfmtoafm TFM-FILE" - echo - echo "example: tfmtoafm cmr10.tfm" - exit 2 -fi - -size=`echo $font | sed "s/[^0-9]*//"` -afm=$font.afm -fontfile=`kpsewhich $font.tfm` -t1=/tmp/tfmtoafm1-$$ -t2=/tmp/tfmtoafm2-$$ -rm -f $t1 $t2 $font $afm - -for i in `seq 1 127`; do printf "%d Character-%d\n" $i $i >> $t1; done -tfmtodit $fontfile $t1 $font -rm $t1 -scaling=`awk -v OFMT='%.5f' '/designsize/ {print $2/'$size/1000} $font` -tail -127 $font | cut -f 1-2 > $t1 -cat $t1 | cut -d, -f 1-2 > $t2 -rm $t1 -#nl -ba $t2 | awk -F '[ \t,]+' '{print "C "$2";\t"$3";\tB 0.00 0.00 "$4/'"$scaling"'" "$5/'"$scaling"'";"}' > $t1 -nl -ba $t2 | awk -F '[ \t,]+' '{print "C "$2" ; WX 0 ; N "$3" ; B 0.00 0.00 "$4/'"$scaling"'" "$5/'"$scaling"'" ;"}' > $t1 - -count=`cat $t1 | wc -l` -count=$((count + 1)) -cat > $afm <> $afm -cat $t1 >> $afm -cat >> $afm <