Datasheet
“main” (Installation and Administration) — 2004/6/25 — 13:29 — page 287 — #313
i
i
i
i
i
i
i
i
12
The X Window System
However, this is usually not necessary. By default, the user-specific direc-
tory ~/.fonts/ is already entered in /etc/fonts/fonts.conf. Ac-
cordingly, all you need to do to install additional fonts is to copy them to
~/.fonts.
You can also insert rules that influence the appearance of the fonts. For ex-
ample, enter
<match target="font">
<edit name="antialias" mode="assign">
<bool>false</bool>
</edit>
</match>
to disable antialiasing for all fonts or
<match target="font">
<test name="family">
<string>Luxi Mono</string>
<string>Luxi Sans</string>
</test>
<edit name="antialias" mode="assign">
<bool>false</bool>
</edit>
</match>
to disable antialiasing for specific fonts.
By default, most applications use the font names sans-serif (or the
equivalent sans), serif, or monospace. These are not real fonts but only
aliases that are resolved to a suitable font, depending on the language set-
ting.
Users can easily add rules to ~/.fonts.conf to resolve these aliases to
their favorite fonts:
<alias>
<family>sans-serif</family>
<prefer>
<family>FreeSans</family>
</prefer>
</alias>
<alias>
<family>serif</family>
<prefer>
<family>FreeSerif</family>
</prefer>
</alias>
<alias>
287
SUSE LINUX Enterprise Server










