summaryrefslogtreecommitdiff
path: root/Master/texmf-doc/doc/english/FAQ-en/html/FAQ-pkfix.html
blob: b452169d34d5b9d1333888d0103304054b87be6f (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
<head>
<title>UK TeX FAQ -- question label pkfix</title>
</head><body>
<h3>Replacing Type 3 fonts in PostScript</h3>
<p>One often comes across a PostScript file generated by
<i>dvips</i> which contains embedded PK fonts; if you try
to generate PDF from such a file, the quality will be poor.
<p>Of course, the proper solution is to regenerate the PostScript file,
but if neither the sources nor the DVI file are available, one
must needs resort to some sort of patching to replace the bitmap fonts
in the file by outline fonts.
<p>The program <i>pkfix</i> (by Heiko Oberdiek) will do this
patching, for files created by "not too old versions" of
<i>dvips</i>: it finds the fonts to be replaced by examining the
PostScript comments <i>dvips</i> has put in the file.  For each
font, <i>pkfix</i> puts appropriate TeX commands in a file,
which it then processes and runs through <i>dvips</i> (with switch
<code>-Ppdf</code>) to acquire an appropriate copy of the font; these copies are
then patched back into the original file.
<p>









Yet another option is Frank Siegert's (shareware)
<a href="http://www.pstill.com">PStill</a>, which is capable of processing
the PostScript it is distilling, and one option is to replace bitmap fonts
in the file with Type 1 versions.
<dl>
<dt><tt><i>pkfix</i></tt><dd><a href="ftp://cam.ctan.org/tex-archive/support/pkfix.zip">support/pkfix</a> (<a href="ftp://cam.ctan.org/tex-archive/support/pkfix.tar.gz">gzipped tar</a>, <a href="http://www.tex.ac.uk/tex-archive/support/pkfix/">browse</a>)
</dl>
<p><p>This question on the Web: <a href="http://www.tex.ac.uk/cgi-bin/texfaq2html?label=pkfix">http://www.tex.ac.uk/cgi-bin/texfaq2html?label=pkfix</a>
</body>