diff --git a/bin/generate-pfa.pe b/bin/generate-pfa.pe new file mode 100644 index 0000000..281a0b0 --- /dev/null +++ b/bin/generate-pfa.pe @@ -0,0 +1,2 @@ +Open($1); +Generate($fontname + ".pfa"); diff --git a/bin/groff_addfont.sh b/bin/groff_addfont.sh old mode 100644 new mode 100755 index 4a2a90e..263c653 --- a/bin/groff_addfont.sh +++ b/bin/groff_addfont.sh @@ -4,37 +4,66 @@ set -e # generate pfa -FONTPATH=$1 +if [ "$#" -lt 2 ]; then + CMD=$(basename "$0") + echo "Usage: $CMD <*.ttf/ttc/otf>