Quick Start Guide

15 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. To enable the use of the fonts, the in-
stallation directory should be a subdirectory of the directories congured in /etc/
fonts/fonts.conf 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 expla-
nation 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 OpenO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>
15.1 Adding Fonts
To install additional fonts system wide, manually copy the font les to a suitable di-
rectory (as root), such as /usr/share/fonts/truetype. Alternatively, the task can be
performed with the KDE font installer in the System Settings. The result is the same.
Instead of copying the actual fonts, you can also create symbolic links. For example,
you may want to do this if you have licensed fonts on a mounted Windows partition
and want to use them. Subsequently, run SuSEconfig --module fonts.
SuSEconfig --module fonts executes the script /usr/sbin/fonts-config, which
handles the font conguration. For more information on this script, refer to its man-
ual page (man fonts-config).
Installing and Conguring Fonts for the Graphical User Interface 181