1997-06-04 08:35:44 +00:00
|
|
|
#!/bin/sh
|
|
|
|
#
|
|
|
|
# hpscat fontend for FreeBSD ports
|
|
|
|
#
|
|
|
|
# 4 Apr 1997, Choi Jun Ho <junker@jazz.snu.ac.kr>
|
|
|
|
#
|
|
|
|
# It enables hpscat to print file without loading font in gs
|
|
|
|
#
|
|
|
|
|
|
|
|
HFONTPATH=%%PREFIX%%/share/fonts/ked-hpscat
|
|
|
|
|
|
|
|
options=$*
|
|
|
|
fileoutput=0
|
|
|
|
|
|
|
|
# check if -f option is specified
|
|
|
|
for i in $*
|
|
|
|
do
|
|
|
|
case $i in
|
|
|
|
-f) fileoutput=1; shift;;
|
|
|
|
esac
|
|
|
|
done
|
|
|
|
|
|
|
|
if [ $fileoutput != 1 ]; then
|
|
|
|
# print font header
|
|
|
|
cat $HFONTPATH/Header
|
|
|
|
for hfont in Munjo Gotic MunjoBold PCMunjo
|
|
|
|
do
|
|
|
|
cat $HFONTPATH/$hfont
|
|
|
|
done
|
|
|
|
fi
|
|
|
|
|
1998-07-27 00:31:31 +00:00
|
|
|
exec hpscat.bin $options
|