2 <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
3 <!-- /etc/fonts/fonts.conf file to configure system font access -->
8 IT WILL BE REPLACED WHEN FONTCONFIG IS UPDATED.
9 LOCAL CHANGES BELONG IN 'local.conf'.
11 The intent of this standard configuration file is to be adequate for
12 most environments. If you have a reasonably normal environment and
13 have found problems with this configuration, they are probably
14 things that others will also want fixed. Please submit any
15 problems to the fontconfig bugzilla system located at fontconfig.org
17 Note that the normal 'make install' procedure for fontconfig is to
18 replace any existing fonts.conf file with the new version. Place
19 any local customizations in local.conf which this file references.
24 <!-- Font directory list -->
26 <dir>@FC_DEFAULT_FONTS@</dir>
28 <dir prefix="xdg">fonts</dir>
29 <!-- the following element will be removed in the future -->
33 Accept deprecated 'mono' alias, replacing it with 'monospace'
35 <match target="pattern">
36 <test qual="any" name="family">
39 <edit name="family" mode="assign" binding="same">
40 <string>monospace</string>
45 Accept alternate 'sans serif' spelling, replacing it with 'sans-serif'
47 <match target="pattern">
48 <test qual="any" name="family">
49 <string>sans serif</string>
51 <edit name="family" mode="assign" binding="same">
52 <string>sans-serif</string>
57 Accept deprecated 'sans' alias, replacing it with 'sans-serif'
59 <match target="pattern">
60 <test qual="any" name="family">
63 <edit name="family" mode="assign" binding="same">
64 <string>sans-serif</string>
69 Load local system customization file
71 <include ignore_missing="yes">@CONFIGDIR@</include>
73 <!-- Font cache directory list -->
75 <cachedir>@FC_CACHEDIR@</cachedir>
76 <cachedir prefix="xdg">fontconfig</cachedir>
77 <!-- the following element will be removed in the future -->
78 <cachedir>~/.fontconfig</cachedir>
82 Rescan configuration every 30 seconds when FcFontSetList is called