Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!samsung!munnari.oz.au!bruce!monu0.cc.monash.edu.au!monu1!rjl From: rjl@monu1.cc.monash.oz ( r lang) Newsgroups: comp.text.tex Subject: Re: emtex questions: pxl/pk; s/r and q .tmf question Message-ID: <13070@monu1.cc.monash.oz> Date: 15 May 91 00:37:53 GMT References: <9105130724.AA16143@autarch.acsu.buffalo.edu> Organization: Dept. Electrical & Computer Systems Engineering, Monash University Lines: 50 xiaofei@ACSU.BUFFALO.EDU: > I have a couple questions I would appreciate answers: > 1. in emTeX file: > % modes.mfj > % > def lj=[mode=hplaser[300]; output=pk[c:\newfonts\pixel.lj\pxl%s]]; > > I wonder why pxl%s used instead of %r or %rdpi? considering the fact that > fonts created by mfjob will be in .pk format not in .pxl format. Get a later version of emTeX. This line now reads: % modes.mfj % def lj=[mode=hplaser[300]; output=pk[c:\newfonts\pixel.lj\%rdpi]; tfmlog]; def tfmlog=[output=tfm[c:\newfonts\tfm] log[c:\newfonts\log];]; > SET DVIDRVGRAPH=C:\EMTEX\DOC\GR$r > > I understand that r means resolution, say 300 [dpi] and s = r * 5 > my question is how the value is passed to r and to s? The dvidrv family substitute the $r or $s with the desired size. > and it seems that sometimes % used [ see modes.mfj: %s] > and sometimes $ is used see above line quoted. what is the grammar? It depends whether it is an environment variable (in which case a $ is used because % is used by DOS) or whether it is in the modes.mfj file (in which case a % is used). > 3. This question is not related to emTeX. I used Tom Rokicki's > dvips to generate fonts which do not exist. But it seems to me > that the .tfm must exist in order to generate fonts. For your version of mfjob the answer is Yes. For the new modes.mfj, make up your own maketfm.mfj file, and the tfm file will be put in c:\newfonts\tfm. > My questions: Are the .tfm files machine dependent ? i.e. if I > get a .tfm from unix and transfer it to msdos, will it work ? Yes. I have done this. Remember that they are binary files. > Suppose I need a cmr13.tfm how do I make/get it ? Why not use cmr12 magstep half? If you really want cmr13.tfm, there are some files on ymir.claremont.edu for making odd sized fonts. I can't remember the exact location. -- Russell Lang Email: rjl@monu1.cc.monash.edu.au Phone: (03) 565 3460 Department of Electrical and Computer Systems Engineering Monash University, Australia