2 <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
3 <!-- /etc/fonts/fonts.conf file to configure system font access -->
5 <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0">
6 <its:translateRule translate="no" selector="/fontconfig/*[not(self::description)]"/>
9 <description>Default configuration file</description>
12 DO NOT EDIT THIS FILE.
13 IT WILL BE REPLACED WHEN FONTCONFIG IS UPDATED.
14 LOCAL CHANGES BELONG IN 'local.conf'.
16 The intent of this standard configuration file is to be adequate for
17 most environments. If you have a reasonably normal environment and
18 have found problems with this configuration, they are probably
19 things that others will also want fixed. Please submit any
20 problems to the fontconfig bugzilla system located at fontconfig.org
22 Note that the normal 'make install' procedure for fontconfig is to
23 replace any existing fonts.conf file with the new version. Place
24 any local customizations in local.conf which this file references.
29 <!-- Font directory list -->
31 <dir>@FC_DEFAULT_FONTS@</dir>
33 <dir prefix="xdg">fonts</dir>
34 <!-- the following element will be removed in the future -->
35 <dir>~/share/fonts</dir>
38 Accept deprecated 'mono' alias, replacing it with 'monospace'
40 <match target="pattern">
41 <test qual="any" name="family">
44 <edit name="family" mode="assign" binding="same">
45 <string>monospace</string>
50 Accept alternate 'sans serif' spelling, replacing it with 'sans-serif'
52 <match target="pattern">
53 <test qual="any" name="family">
54 <string>sans serif</string>
56 <edit name="family" mode="assign" binding="same">
57 <string>sans-serif</string>
62 Accept deprecated 'sans' alias, replacing it with 'sans-serif'
64 <match target="pattern">
65 <test qual="any" name="family">
68 <edit name="family" mode="assign" binding="same">
69 <string>sans-serif</string>
74 Load local system customization file
76 <include ignore_missing="yes">@CONFIGDIR@</include>
78 <!-- Font cache directory list -->
80 <cachedir>@FC_CACHEDIR@</cachedir>
81 <cachedir prefix="xdg">fontconfig</cachedir>
82 <!-- the following element will be removed in the future -->
83 <cachedir>~/.cache/fontconfig</cachedir>
87 Rescan configuration every 30 seconds when FcFontSetList is called