Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports-kde
Path: blob/main/korean/hpscat/files/hpscat.sh.in
16461 views
#!/bin/sh
#
# hpscat fontend for FreeBSD ports
#
# 4 Apr 1997, Choi Jun Ho <[email protected]>
#
# It enables hpscat to print file without loading font in gs
#

HFONTPATH=%%FONTDIR%%

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

exec hpscat.bin $options