[Fontconfig] fonts.conf

Tim Janik fontconfig@fontconfig.org
Fri, 4 Apr 2003 17:36:07 +0200 (CEST)

hey keith et all,

just updated (debian unstable) to fontconfig 2.1.92 which aparently uses
fonts.conf instead of XftConfig for font configurations. there, it says:
        Note that the normal 'make install' procedure for fontconfig is to
        replace any existing fonts.conf file with the new version.  Place
        any local customizations in local.conf which this file references.

now previously, i was using:
# Gtk likes to ask for "Monospace"
match any family == "monospace"         edit family =+ "mono";
# Type1 fonts (gsfonts-x11)
dir "/usr/X11R6/lib/X11/fonts/Type1"
# Sans:   Nimbus_Sans_L* URW_Gothic_L*
# Serif:  Nimbus_Roman_No9_L* URW_Bookman_L* Century_Schoolbook_L* Bitstream_Charter* URW_Palladio_L*
# Mono:   Nimbus_Mono_L* Courier_10_Pitch*
# Script: URW_Chancery_L*
match any family == "sans"      edit family += "Nimbus Sans L";
match any family == "serif"     edit family += "Nimbus Roman No9 L";
#match any family == "mono"     edit family += "Nimbus Mono L";
#match any family == "sans"     edit family += "URW Gothic L";
#match any family == "serif"    edit family += "URW Bookman L";
match any family == "mono"      edit family += "Courier 10 Pitch";

which got me decently looking fonts.
how do i achive that same effect (i.e. selecting defaults for sans,
serif and monospace) with fonts.conf?
i tried adding:
                <family>Nimbus Roman No9 L</family>
                <family>Luxi Serif</family>
                <family>Nimbus Sans L</family>
                <family>Luxi Sans</family>
                <family>Courier 10 Pitch</family>
                <family>Courier New</family>
                <family>Luxi Mono</family>
to local.conf, and even to the top of fonts.conf, but that
doesn't seem to have any effect on the fonts being used for sans,
serif and monospace.

btw, you might want to add the aliases for FreeSerif, FreeSans
and FreeMono to your standard fonts.conf for people using the
freefont package.