[Fontconfig] fonts.conf

Keith Packard keithp at keithp.com
Sun Apr 6 02:15:50 EST 2003

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.


More information about the Fontconfig mailing list