These are the fonts you will normally be using. A good
selection comes with a full installation of TEX Live (see
the list above and those following
it). There are more available, shown in the LATEX Font
Catalogue with links to their directory on
CTAN; and you can of course buy or
download TrueType and OpenType fonts from their foundries
(makers) or from online font collections.
A.4.1.1 Installing TEX Live or
TT/OT fonts from
CTAN
There are two ways to do this, depending on what
distribution of TEX you have installed:
Either way, no further action should be required apart
from running the fc-cache
utility as described in the sidebar ‘The FontConfig font cache’ below.
A.4.1.2 Installing
TT/OT fonts
downloaded from elsewhere
There are two ways to do this, too:
using the font installer program provided by your
computer system, usually something like a click or
right-click on the font file and select
from the menu.
(This method is simple, easy, and quick, but will
bundle them in along with all your other system fonts,
or perhaps in a hidden directory like
~/.local/share/fonts. This makes
it harder to backup or copy fonts that you later need
for moving to a new computer)
installing them in your Personal TEX
Directory (PTD) with all your other TEX
extras.
(This method needs a little thought and planning,
but has the advantage that the fonts then live along
with all your additional classes and packages, so you
can easily backup or copy the whole lot to a new
system without having to worry about where the files
go)
A.4.1.3 Font installation in your Personal TEX Directory
To install fonts in your Personal TEX
Directory (PTD), create a directory for
them in the form defined by the TEX Directory
Structure (TDS):
where
foundry is the name of the font
maker or supplier, and typeface
is the name of the typeface.
Choose suitable, obvious names to make them easy to
recognize, and put the font files in the new directory.
For example, the Aller typeface TrueType font files
from Dalton Maag could go in
texmf/fonts/truetype/daltonmaag/aller
and the
Iwona typeface OpenType font files by Janusz M.
Nowacki could go in
texmf/fonts/opentype/nowacki/iwona.
On GNU/Linux systems, to get the
FontConfig cache to index fonts
in your PTD, you need to tell it where
they are. There are already .conf
font configuration files in
/etc/fonts/conf.avail/ for the fonts
that come with the installation (eg
65-fonts-texgyre.conf). Create one
for your PTD, eg
09-texlive.conf, eg:
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<dir>/home/peter/texmf/fonts/opentype</dir>
<dir>/home/peter/texmf/fonts/truetype</dir>
</fontconfig>
<!-- use sudo fc-cache -f -vv to rebuild font cache -->
(substituting your username for mine). The format is
XML, so make sure you don’t miss any of
the pointy brackets or mess with the element type names.
Then when you run fc-cache
after installing new fonts, it will find them.
Some examples of font indexing are
shown in § 6.2.1.1 above.