#PasTeX and Tpp
08-Dec-92 20:14:14
Sb: #30448-#PasTeX and Tpp
Fm: Brian Simmons/CO 73447,3044
To: Michael Shea 76665,3360
Type the following command "search #? mode_def" in the directory where the
Metafont nput files are. You should find a text file with lines like
"mode_def = imagen % blah blah…", and "mode_def = NEC % blah blah ..".
Those "mode_def
.. enddef;" define the parameters for an ouput device. You then run
Metafont like this: mf "\mode:=imagen; mag:=magstep(0.0); input cmr10",
where imagen is your output device, 0.0 is the magnification of the font
cmr10. cmr10 will be in the search path for Metafont (I guess; I don't have
PasTeX) in a file called cmr10.mf. Of course you replace all three with
values appropriate to you. You will get a cmr10.log and a cmr10.nnngf file.
nnn will be the value "pixels_per_inch*(1.2**(0.0))" (i.e. times 1.2 raised
to the magstep value). pixels_per_inch is from the mode_def definition. The
magstep value usually has values like …,-1.0,-0.5,0.0,0.5,1.0,1.5,2.0,…
etc.
Preview font mode_def parameters are specific to an implementation's
previewer. You will need to refer to your documentation on that one. If you
need to make a new modedef, you can make a new Metafont base file with the
program inimf, the input file plain.mf (mine is 22396 bytes long and has
the name …; base_version="2.7"; on line 4) and your mode_def file. Type
the command inimf "plain; input <mode_def filename>; dump". You will get a
file like plain.blah. Rename it to mf.blah and replace the previous mf.blah
file where Metafont looks for it.
—–> Brian Simmons, Denver, Colorado. – via Whap!