~reviczky/luatex/texlive-bin-git

« back to all changes in this revision

Viewing changes to texk/ps2pkm/usenet

  • Committer: Adam Reviczky
  • Date: 2015-04-26 22:40:47 UTC
  • Revision ID: adam.reviczky@kclalumni.net-20150426224047-i2p26n3wqphupq6z
TeX Live 2015 import (rev. 37052)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
Path: tuegate.tue.nl!rw6.urc.tue.nl!rcpt
2
 
From: rcpt@rw6.urc.tue.nl (Piet Tutelaers)
3
 
Newsgroups: comp.text.tex
4
 
Subject: Re: ps2mf
5
 
Message-ID: <rcpt.714861633@rw6.urc.tue.nl>
6
 
Date: 26 Aug 92 20:40:33 GMT
7
 
References: <memo.585707@cix.compulink.co.uk> <ILH.92Aug20112742@winnie-the-pooh.lcs.mit.edu> <1992Aug22.112526.13957@cnix.uucp> <4847@news.duke.edu>
8
 
Sender: root@tuegate.tue.nl
9
 
Reply-To: rcpt@urc.tue.nl
10
 
Lines: 52
11
 
 
12
 
jbrehm@acpub.duke.edu (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