Debian Codegraph @

texk/ps2pk/usenet

raw
1 Path: tuegate.tue.nl!rw6.urc.tue.nl!rcpt
2 From: [email protected] (Piet Tutelaers)
3 Newsgroups: comp.text.tex
4 Subject: Re: ps2mf
5 Message-ID: <[email protected]>
6 Date: 26 Aug 92 20:40:33 GMT
7 References: <[email protected]> <[email protected]> <[email protected]> <[email protected]>
8 Sender: [email protected]
9 Reply-To: [email protected]
10 Lines: 52
11
12 [email protected] (John Brehm) writes:
13
14 >I need to convert some postscript fonts for use with the emTeX dvihplj
15 >drivers, but at sizes that differ from the standard 10pt. I can
16 >easily generate fonts of arbitrary sizes with ps2pk (great tool!),
17 >but how do I produce the right .tfm files? That is, if I include
18 >the line:
19 > \font\opt12=optima at 12pt
20 >I get the error message (from LaTeX):
21 > ! Font \opt=optima not loadable: Bad metric (TFM) file.
22
23 >Any thoughts?
24
25 I see that my ps2pk.README does not explain this clearly. So here is a try
26 to correct that.
27
28 1) Get the latest afm2tfm coming with dvips. You need at least version 7.0
29 of afm2tfm othewise the checksums of TFM files generated by afm2tfm and PK
30 files generated by ps2pk will be different. Try ftp.urc.tue.nl:pub/tex or
31 labrea.stanford.edu for the latest sources. MSDOS binaries are (or will
32 become) available in :pub/tex/emtex/dvips.zip.
33
34 2) You should have VPtoVF a fonttool coming with emTeX: converts a Virtual
35 Property Font format (.vpl: ASCII) to Virtual Font format (.vf: binary).
36
37 3) It is possible to name your TeX font `optima' but real TeX-ers
38 prefer `popr', a name that can be used on MSDOS (and that can be found
39 from grep-ing in the file adobe coming with dvips). You will need:
40 1) emtex\tfm\popr.tfm
41 2) emtex\vf\popr.vf
42 3) emtex\tfm\rpopr.tfm
43 4) emtex\pixel.lj\360dpi\rpopr.pk (360=12/10*300)
44
45 4) To generate them:
46 afm2tfm Optima.afm -v popr.vpl rpopr.tfm
47 vptovf popr.vpl popr.vf popr.tfm
48 (delete popr.vpl if you like)
49 ps2pk -X360 -v Optima.pfb rpopr.360pk
50
51 5) To use them install all TFM, VF and PK fonts on their proper place.
52 Check that they will be located there and use now within plain TeX
53 (especially check that emtex\lj.cnf contains a line telling dvihplj where
54 to find its VF fonts. I have no MSDOS machine nearby, so I can't tell what
55 exact line you need):
56 \font\opt12=popr at 12pt
57
58 The bunch of files are necessary to map PostScript fonts to TeX (virtual
59 magic).
60
61 Hope this brings some light,
62
63 --Piet
64