Subversion Repositories planix.SVN

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 - 1
#!/bin/sh
2
# $Id: pfbtopfa,v 1.6 2004/08/04 00:55:46 giles Exp $
3
# Convert .pfb fonts to .pfa format
4
 
5
# This definition is changed on install to match the
6
# executable name set in the makefile
7
GS_EXECUTABLE=gs
8
 
9
if [ $# -eq 2 ] 
10
then
11
    outfile=$2
12
elif [ $# -eq 1 ]
13
then
14
    outfile=`basename "$1" \.pfb`.pfa
15
else
16
    echo "Usage: `basename $0` input.pfb [output.pfa]" 1>&2
17
    exit 1
18
fi
19
 
20
exec $GS_EXECUTABLE -q -dNODISPLAY -- pfbtopfa.ps "$1" "$outfile"