Last change
on this file since 17223 was 17223, checked in by max, 16 years ago |
Add Ghostscript binaries and libraries for windows.
|
File size:
553 bytes
|
Line | |
---|
1 | #!/bin/sh
|
---|
2 | # $Id: pfbtopfa 8107 2007-07-05 19:04:29Z till $
|
---|
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 | gs="`dirname $0`/$GS_EXECUTABLE"
|
---|
9 | if test ! -x "$gs"; then
|
---|
10 | gs="$GS_EXECUTABLE"
|
---|
11 | fi
|
---|
12 | GS_EXECUTABLE="$gs"
|
---|
13 |
|
---|
14 | if [ $# -eq 2 ]
|
---|
15 | then
|
---|
16 | outfile=$2
|
---|
17 | elif [ $# -eq 1 ]
|
---|
18 | then
|
---|
19 | outfile=`basename "$1" \.pfb`.pfa
|
---|
20 | else
|
---|
21 | echo "Usage: `basename $0` input.pfb [output.pfa]" 1>&2
|
---|
22 | exit 1
|
---|
23 | fi
|
---|
24 |
|
---|
25 | exec "$GS_EXECUTABLE" -q -dNODISPLAY -- pfbtopfa.ps "$1" "$outfile"
|
---|
Note:
See
TracBrowser
for help on using the repository browser.