[Fontconfig] fonts.conf

Keith Packard fontconfig@fontconfig.org
Sat, 05 Apr 2003 08:15:50 -0800

Around 17 o'clock on Apr 4, Tim Janik wrote:

> i tried adding:
>        <alias>
>                <family>Nimbus Roman No9 L</family>
>                <family>Georgia</family>
>                <family>Luxi Serif</family>
>                <family>FreeSerif</family>
>                <default><family>serif</family></default>
>        </alias>

This isn't how you change what font will be used when you ask for 'serif'.
This is how you choose the generic ('serif') name for fonts that you 
may not have installed so that fontconfig will pick another suitable font
If you look in fonts.conf, you'll find a section labeled

  Provide required aliases for standard names

and that will show the right syntax for changing the preferred font for
the generic 'sans-serif', 'serif' and 'monospace' families.

Edit local.conf and add a section like:


That should be sufficient to have these fonts preferred by applications.