diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /systems/unix/tex-gpc/shell/mkfont |
Initial commit
Diffstat (limited to 'systems/unix/tex-gpc/shell/mkfont')
-rw-r--r-- | systems/unix/tex-gpc/shell/mkfont | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/systems/unix/tex-gpc/shell/mkfont b/systems/unix/tex-gpc/shell/mkfont new file mode 100644 index 0000000000..06d8dd3506 --- /dev/null +++ b/systems/unix/tex-gpc/shell/mkfont @@ -0,0 +1,15 @@ +# Install .tfm and . pk files from .mf files for TeX-GPC +f=`basename $1 .mf` +case $# in +1) mag=1;; +2) mag=$2;; +*) echo Usage: $0 mf-file [ magnification ]; exit 1 +esac +echo $0: $f magnification=$mag +rm -f $f.*gf +mf "\\mode=localfont; mag=$mag; batchmode; input $1"\ +&& gftopk $f.*gf `echo $f.*gf | sed 's/gf$/pk/'` \ +&& mv $f.*pk PKfonts/ \ +&& mv $f.tfm TeXfonts/ \ +&& rm $f.log && rm $f.*gf \ +|| echo $0 $1 $mag >>trouble |