summaryrefslogtreecommitdiff
path: root/Build/source/texk/ps2pk/usenet
blob: 14dd5523f77446a7c5f27bcf0ea98eb94d0d0448 (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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
Path: tuegate.tue.nl!rw6.urc.tue.nl!rcpt
From: rcpt@rw6.urc.tue.nl (Piet Tutelaers)
Newsgroups: comp.text.tex
Subject: Re: ps2mf
Message-ID: <rcpt.714861633@rw6.urc.tue.nl>
Date: 26 Aug 92 20:40:33 GMT
References: <memo.585707@cix.compulink.co.uk> <ILH.92Aug20112742@winnie-the-pooh.lcs.mit.edu> <1992Aug22.112526.13957@cnix.uucp> <4847@news.duke.edu>
Sender: root@tuegate.tue.nl
Reply-To: rcpt@urc.tue.nl
Lines: 52

jbrehm@acpub.duke.edu (John Brehm) writes:

>I need to convert some postscript fonts for use with the emTeX dvihplj
>drivers, but at sizes that differ from the standard 10pt.  I can
>easily generate fonts of arbitrary sizes with ps2pk (great tool!),
>but how do I produce the right .tfm files?  That is, if I include
>the line:
> \font\opt12=optima at 12pt
>I get the error message (from LaTeX):
> ! Font \opt=optima not loadable: Bad metric (TFM) file.

>Any thoughts?

I see that my ps2pk.README does not explain this clearly. So here is a try
to correct that.

1) Get the latest afm2tfm coming with dvips. You need at least version 7.0
of afm2tfm othewise the checksums of TFM files generated by afm2tfm and PK
files generated by ps2pk will be different. Try ftp.urc.tue.nl:pub/tex or
labrea.stanford.edu for the latest sources. MSDOS binaries are (or will
become) available in :pub/tex/emtex/dvips.zip.

2) You should have VPtoVF a fonttool coming with emTeX: converts a Virtual
Property Font format (.vpl: ASCII) to Virtual Font format (.vf: binary).

3) It is possible to name your TeX font `optima' but real TeX-ers
prefer `popr', a name that can be used on MSDOS (and that can be found
from grep-ing in the file adobe coming with dvips). You will need:
	1) emtex\tfm\popr.tfm
	2) emtex\vf\popr.vf
	3) emtex\tfm\rpopr.tfm
	4) emtex\pixel.lj\360dpi\rpopr.pk (360=12/10*300)

4) To generate them:
	afm2tfm Optima.afm -v popr.vpl rpopr.tfm
	vptovf popr.vpl popr.vf popr.tfm
	(delete popr.vpl if you like)
	ps2pk -X360 -v Optima.pfb rpopr.360pk

5) To use them install all TFM, VF and PK fonts on their proper place.
Check that they will be located there and use now within plain TeX
(especially check that emtex\lj.cnf contains a line telling dvihplj where
to find its VF fonts. I have no MSDOS machine nearby, so I can't tell what
exact line you need):
	\font\opt12=popr at 12pt

The bunch of files are necessary to map PostScript fonts to TeX (virtual
magic).

Hope this brings some light,

--Piet