summaryrefslogtreecommitdiff
path: root/systems/unix/tex-fpc/shell/mkfont
blob: 735ca9ad6f9d006074df89b77c92da360be203e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# Install .tfm files from .mf files for TeX-FPC
f=`basename $1 .mf`
case $# in
1) mag=1;;
2) mag=$2;;
*) echo Usage: $0 mf-file [ magnification ]; exit 1
esac
rm -f $f.*gf
mf "\\mode=localfont; batchmode; input $1"\
&& mv $f.tfm TeXfonts/ \
&& rm $f.log && rm $f.*gf \
&& echo $1.tfm installed \
|| (echo $0 $1 $mag >>trouble; echo $f failed, see file trouble)