Operation Manual

12
Installing and Conguring
Fonts for the Graphical User
Interface
The installation of additional fonts in openSUSE® is very easy. Simply copy the fonts
to any directory located in the X11 font path (see Section 12.1, “X11 Core Fonts”
(page 168)). To the enable use of the fonts, the installation directory should be a subdi-
rectory of the directories congured in /etc/fonts/fonts.conf (see Section 12.2,
“Xft” (page 169)) or included into this le with /etc/fonts/suse-font-dirs
.conf.
The following is an excerpt from /etc/fonts/fonts.conf. This le is the standard
conguration le that should be appropriate for most congurations. It also denes the
included directory /etc/fonts/conf.d. In this directory, all les or symbolic
links starting with a two digit number are loaded by fontcong. For a more detailed
explanation of this functionality, have a look at /etc/fonts/conf.d/README.
<!-- Font directory list -->
<dir>/usr/share/fonts</dir>
<dir>/usr/X11R6/lib/X11/fonts</dir>
<dir>/opt/kde3/share/fonts</dir>
<dir>/usr/local/share/fonts</dir>
<dir>~/.fonts</dir>
/etc/fonts/suse-font-dirs.conf is automatically generated to pull in fonts
that ship with (mostly third party) applications like OpenOfce.org, Java or Adobe
Acrobat Reader. A typical entry would look like the following:
<dir>/usr/lib/Adobe/Reader9/Resource/Font</dir>
<dir>/usr/lib/Adobe/Reader9/Resource/Font/PFM</dir>
Installing and Conguring Fonts for the Graphical User Interface 167