diff options
Diffstat (limited to 'Master/texmf-doc/doc/english/make-tex-work/examples/ex-05-03')
-rw-r--r-- | Master/texmf-doc/doc/english/make-tex-work/examples/ex-05-03 | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/Master/texmf-doc/doc/english/make-tex-work/examples/ex-05-03 b/Master/texmf-doc/doc/english/make-tex-work/examples/ex-05-03 deleted file mode 100644 index 89f65e1c984..00000000000 --- a/Master/texmf-doc/doc/english/make-tex-work/examples/ex-05-03 +++ /dev/null @@ -1,48 +0,0 @@ -#!/usr/local/bin/bash -# -# This script file makes a new TeX font from a PS outline. -# -# Parameters are: -# -# name dpi bdpi [mag mode destdir] -# -# `name' is the name of the font, such as `ptmr'. `dpi' -# is the resolution the font is needed at. `bdpi' is -# the base resolution. -# -# This script ignores the remaining parameters. They are -# left here to document the fact that the caller may provide -# them. They may be provided because the caller thinks -# MetaFont is going to do the work... -# -# Of course, this needs to be set up for your site. -# -# TEMPDIR needs to be unique for each process because of the -# possibility of simultaneous processes running this script. - -TEMPDIR=/tmp/temp-tex-PS.$$ -NAME=$1 -DPI=$2 -BDPI=$3 - -LOCALDIR=/usr/local/lib/mf/fonts -DESTDIR=$LOCALDIR/pk - -BASENAME=$NAME.$DPI -PFADIR=/usr/local/lib/tex/ps/outlines - -# Clean up on normal or abnormal exit -trap "cd /; rm -rf $TEMPDIR" 0 1 2 15 - -mkdir $TEMPDIR -cd $TEMPDIR - -# We proceed by making a 10pt font at the resolution -# requested... -echo Making ${DPI}dpi version of $NAME. -ps2pk -X$DPI -P10 -a$PFADIR/$NAME.afm \ - $PFADIR/$NAME.pfa ${BASENAME}pk - -mv ${BASENAME}pk $DESTDIR - -exit 0 |