summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-instt1font.html
blob: b02c081fa634108017a8d47cc1bc415a64f3608f (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">&#8216;prepared&#8217; 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/&#60;foundry&#62;/&#60;fname&#62;
.tfm  .../fonts/tfm/&#60;foundry&#62;/&#60;fname&#62;
.vf   .../fonts/vf/&#60;foundry&#62;/&#60;fname&#62;
.sty,
.fd   .../tex/latex/&#60;fname&#62;
.map  .../fonts/map/dvips/&#60;foundry&#62;
</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 &#60;fname&#62;.map
</pre>
    </blockquote><p>
    as root.  (Do <em>not</em> use plain <i>updmap</i>: it&#8217;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 &#60;fname&#62;.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">&#8220;advanced&#8221; documentation</a>.
  </ul>
</ul>
Both processes (preparing and installing a font) are very well (and
thoroughly) described in Philipp Lehman&#8217;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>