2 # Usage: gendesc.sh <input .proto> <RES> <CPI> <LPI> <list of fonts>
3 if test -z "$1" || test -z "$2" || test -z "$3" || test -z "$4" || \
5 echo "genfonts.sh: missing parameter"; exit 255;
14 sed -e "s/^res .*$/res $RES/" \
15 -e "s/^hor .*$/hor `expr $RES / $CPI`/" \
16 -e "s/^vert .*$/vert `expr $RES / $LPI`/" \
17 -e "s/^fonts .*$/fonts $NBFONTS $FONTS/" \