diff options
Diffstat (limited to 'systems/unix/tex-fpc/shell/mkfont')
-rwxr-xr-x | systems/unix/tex-fpc/shell/mkfont | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/systems/unix/tex-fpc/shell/mkfont b/systems/unix/tex-fpc/shell/mkfont index 34b2eb7849..735ca9ad6f 100755 --- a/systems/unix/tex-fpc/shell/mkfont +++ b/systems/unix/tex-fpc/shell/mkfont @@ -1,4 +1,4 @@ -# Install .tfm and . pk files from .mf files for TeX-FPC +# Install .tfm files from .mf files for TeX-FPC f=`basename $1 .mf` case $# in 1) mag=1;; @@ -6,9 +6,8 @@ case $# in *) echo Usage: $0 mf-file [ magnification ]; exit 1 esac 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/ \ +mf "\\mode=localfont; batchmode; input $1"\ && mv $f.tfm TeXfonts/ \ && rm $f.log && rm $f.*gf \ -|| echo $0 $1 $mag >>trouble +&& echo $1.tfm installed \ +|| (echo $0 $1 $mag >>trouble; echo $f failed, see file trouble) |