summaryrefslogtreecommitdiff
path: root/fonts/poorman/MakeFont
blob: 1a96fa02cd2e54491800c522a2fbac0135a944b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/bin/sh
# <- lines with that character are comments
#
#  Use this as a guide, you will almost certainly need to make changes
#
# you may very well need supervisor privileges to do all this
#         if your system has such things
#
# call METAFONT with approriate mode    $1 means: 1st parameter on command line
mf '\mode=nexthi;' '\scrollmode;' '\mag=1;' input $1
#  assuming all went well, move or copy tfm file to appropriate directory
mv $1.tfm /NextLibrary/Fonts/TeXFonts/tfm
#  make a pk file from the gf file   adjust resolution numbers as required
gftopk $1.400gf $1.400pk
#  move/copy the resulting pk file to the right directory on your system
mv $1.400pk /NextLibrary/Fonts/TeXFonts/pk
# remove any files which are no longer needed and return
rm $1.400gf
rm $1.log
rm $1.mf