summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-instt1font.html
blob: 1a6d985500cbd13cfbc13fe66422ed33f29e3366 (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
65
66
67
68
69
70
71
72
73
74
<head>
<title>UK TeX FAQ -- question label instt1font</title>
</head><body>
<h3>Installing a Type 1 font</h3>
<p/>Once you have a prepared Type 1 font, either direct from CTAN
or the like, or having <a href="FAQ-prept1font.html">&lsquo;prepared&rsquo; it yourself</a>,
you can get on with installation.
<p/>The procedure is merely an extension of that for packages, etc., so
much of what follows will be familiar:
<ul>
<li> Install the files, in your local <code>texmf</code> tree (the advice
  about installing non-standard things applies here, too).  The
  following list gives reasonable destinations for the various files
  related to a font family &lt;<i>fname</i>&gt;:
<pre>
.pfb,
.pfa  .../fonts/type1/&lt;foundry&gt;/&lt;fname&gt;
.tfm  .../fonts/tfm/&lt;foundry&gt;/&lt;fname&gt;
.vf   .../fonts/vf/&lt;foundry&gt;/&lt;fname&gt;
.sty,
.fd   .../tex/latex/&lt;fname&gt;
.map  .../fonts/map/dvips/&lt;foundry&gt;
</pre>
  but if you are lucky, you will be starting from a distribution from
  CTAN and there is a corresponding <code>.tds.zip</code> file:
  using the TDS-file saves the bother of deciding where to put
  your files in the TDS tree.
<li> Regenerate the file indexes (as described in
  <a href="FAQ-inst-wlcf.html">package installation</a>).
<li> Update the <i>dvips</i>, PDFTeX and other maps:
  <ul>
  <li> On any current TeX Live-based system, or a teTeX v3.0
    system, execute the command
    <blockquote>
<pre>
updmap-sys --enable Map &lt;fname&gt;.map
</pre>
    </blockquote><p>
    as root.  (Do <em>not</em> use plain <i>updmap</i>: it&rsquo;s a
    potent source of confusion, setting up different map sets
    for different users.)
  <li> On a current MiKTeX system, update the system file
    <i>updmap.cfg</i>, using the shell command
    <blockquote>
<pre>
initexmf --edit-config-file updmap
</pre>
    </blockquote><p>
    adding a line at the end:
    <blockquote>
<pre>
Map &lt;fname&gt;.map
</pre>
    </blockquote><p>
    for each font family &lt;<i>fname</i>&gt; you are adding to the system.
    Now generate revised maps with the shell command
    <blockquote>
<pre>
initexmf --mkmaps
</pre>
    </blockquote><p>
    This, and other matters, are described in MiKTeX 
    <a href="http://docs.miktex.org/manual/advanced.html">&ldquo;advanced&rdquo; documentation</a>.
  </ul>
</ul>
Both processes (preparing and installing a font) are very well (and
thoroughly) described in Philipp Lehman&rsquo;s guide to font installation,
which may be found on CTAN.
<dl>
<dt><tt><i>fontinst.sty</i></tt><dd><a href="http://www.tex.ac.uk/tex-archive/fonts/utilities/fontinst.zip">fonts/utilities/fontinst</a> (or <a href="http://www.tex.ac.uk/tex-archive/fonts/utilities/fontinst/">browse the directory</a>)
<dt><tt><i>Type 1 installation guide</i></tt><dd><a href="http://www.tex.ac.uk/tex-archive/info/Type1fonts/fontinstallationguide/fontinstallationguide.pdf">info/Type1fonts/fontinstallationguide/fontinstallationguide.pdf</a>
</dl>
<p/><p>This question on the Web: <a href="http://www.tex.ac.uk/cgi-bin/texfaq2html?label=instt1font">http://www.tex.ac.uk/cgi-bin/texfaq2html?label=instt1font</a>
</body>