Path: utzoo!attcan!uunet!mcsun!unido!laura!julien!juergen From: juergen@julien.uucp (Juergen Stuber) Newsgroups: comp.text.tex Subject: Re: emTeX fonts (ANSWERS) Message-ID: <2830@laura.UUCP> Date: 30 Nov 90 14:48:37 GMT References: <1990Nov28.032145.5666@nmt.edu> Sender: news@laura.UUCP Organization: University of Dortmund, Germany Lines: 112 In article <1990Nov28.032145.5666@nmt.edu> jrwsnsr@nmt.edu (Jonathan Watts) writes: >I'm a new TeX user, and recently downloaded emTeX from terminator. I'd like >to know which size fonts I need to get for an IBM Proprinter-compatible >printer (240x216 dpi) and CGA graphics. Thanks! I have no idea how to use >Metafont (I only have the TeXbook), so I'll need to get the PK files (or >FLI files); does terminator have the sizes I need, and if not, who does? > > - Jonathan Watts Recently there have been quite a few questions about fonts for emtex, so I'll try to provide some answers. The emtex package does not include any fonts. They are available as separate packages for several printers. Here is what the README says: Further diskettes (only available as HD diskettes) ---------------------------------------------------- Font library files (*.fli): Name | Resolution| Diskettes | Printers | (DPI) | / Files | (among others) -----+-----------+-----------+------------------------------------------- LJ | 300 | 5 / 8 | HP LaserJet+, DeskJet, Kyocera F-1010 P6L | 180 | 3 / 7 | NEC P6, EPSON LQ series, Panasonic KX P1124 P6M | 360x180 | 4 / 7 | NEC P6, EPSON LQ series, Panasonic KX P1124 P6H | 360 | 6 / 8 | NEC P6, Panasonic KX P1124 FX | 240x216 | 4 / 7 | EPSON FX-80, Tandy DMP-130 ITO | 160x144 | 3 / 7 | C.ITOH 8510A, Apple Imagewriter They should also be available on ftp sites. If you have some other printer, go for the correct resolution. The other option is to generate the fonts. This is what you have to do: 1. create a directory C:\NEWFONTS and change to that directory. MFJOB will write the fonts into subdirectories of this directory. If you want to put them somewhere else, i.e. on another drive, you have to edit the files emtex\mfjob\*.mfj. 2. type the command MFJOB all m= This will create the bulk of the fonts. specifies for which printer the fonts will be generated. There are modes available for the resolutions given above. Look into emtex/mfjob/modes.mfj Name | Mode -------+------ LJ | lj P6L | lql P6M | lqm P6H | lqh FX | fx ITO | ito To create your own mode, you have to - edit emtex/mfinput/local.mf to create a new mode - generate new MetaFont bases containing the mode (sorry, I don't remember the exact syntax, something like MF PLAIN.INI/I MF CM.INI/I look into mf.doc) - edit emtex/mfjob/modes.mfj to inform mfjob of the new mode /2 for 286 or above, lets mfjob use mf286, which is faster /i for low resolution fonts (all except LJ and P6H, I think) to ignore MetaFont error codes when generating tt fonts See mfjob.doc for more details. 3. wait ca 100s per font, 11 hours total on a 33MHz 386, ca 25min per font, 1.5 Weeks total on an 8MHz XT you may interrupt mfjob and restart it later. Note: If your machine is much slower, it may have insufficient memory. Make sure there are at least 540K of free memory, otherwise MetaFont will start swapping. Sometimes it even is useful to remove an EMM driver, although MF uses EMM. Try it. 4. type the commands MFJOB emsy m= MFJOB latex m= This will create a few other fonts. 5. create the font libraries (optional) fontlib /c .fli + e.g. fontlib /c p6h_1800.fli 1800 pixel.p6h\pxl1800 +*.pk See fontlib.doc for more details. Look into the configuration file for your printer, emtex/.cfg, to see how the font libraries are named. _rest.fli contains fonts for magnification 0.8 and 0.9, these are the two generated by MFJOB latex. Copy the font libraries or, if you don't use font libraries the directory tree containing the fonts, to an appropriate directory. Set the environment variable DVIDRVFONTS to this directory. The previewer will use any fonts you have. Its standard setup is to use the LaserJet fonts. You have to edit the file emtex\scr.bat, and replace lj.cnf by the name of the configuration file for your printer. Use /s option to adjust size. Hope this helps. Juergen Stuber ------------------------------------------------------- Juergen Stuber (juergen@ls5.informatik.uni-dortmund.de)