diff options
Diffstat (limited to 'korean/hpscat/files/hpscat.sh.in')
-rw-r--r-- | korean/hpscat/files/hpscat.sh.in | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/korean/hpscat/files/hpscat.sh.in b/korean/hpscat/files/hpscat.sh.in new file mode 100644 index 000000000000..592fb5a13c38 --- /dev/null +++ b/korean/hpscat/files/hpscat.sh.in @@ -0,0 +1,32 @@ +#!/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=%%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 |