2 <!DOCTYPE fontconfig SYSTEM "urn:fontconfig:fonts.dtd">
3 <!-- /etc/fonts/fonts.conf file to configure system font access -->
5 <description>Default configuration file</description>
9 IT WILL BE REPLACED WHEN FONTCONFIG IS UPDATED.
10 LOCAL CHANGES BELONG IN 'local.conf'.
12 The intent of this standard configuration file is to be adequate for
13 most environments. If you have a reasonably normal environment and
14 have found problems with this configuration, they are probably
15 things that others will also want fixed. Please submit any problems
16 to the fontconfig issue tracking system located at fontconfig.org
18 Note that the normal 'make install' procedure for fontconfig is to
19 replace any existing fonts.conf file with the new version. Place
20 any local customizations in local.conf which this file references.
25 <!-- Font directory list -->
29 <dir prefix="xdg">fonts</dir>
30 <!-- the following element will be removed in the future -->
34 Accept deprecated 'mono' alias, replacing it with 'monospace'
36 <match target="pattern">
37 <test qual="any" name="family">
40 <edit name="family" mode="assign" binding="same">
41 <string>monospace</string>
46 Accept alternate 'sans serif' spelling, replacing it with 'sans-serif'
48 <match target="pattern">
49 <test qual="any" name="family">
50 <string>sans serif</string>
52 <edit name="family" mode="assign" binding="same">
53 <string>sans-serif</string>
58 Accept deprecated 'sans' alias, replacing it with 'sans-serif'
60 <match target="pattern">
61 <test qual="any" name="family">
64 <edit name="family" mode="assign" binding="same">
65 <string>sans-serif</string>
69 Accept alternate 'system ui' spelling, replacing it with 'system-ui'
71 <match target="pattern">
72 <test qual="any" name="family">
73 <string>system ui</string>
75 <edit name="family" mode="assign" binding="same">
76 <string>system-ui</string>
81 Load local system customization file
83 <include ignore_missing="yes">@CONFIGDIR@</include>
85 <!-- Font cache directory list -->
87 <cachedir>@FC_CACHEDIR@</cachedir>
88 <cachedir prefix="xdg">fontconfig</cachedir>
89 <!-- the following element will be removed in the future -->
90 <cachedir>~/.fontconfig</cachedir>
94 Rescan configuration every 30 seconds when FcFontSetList is called