1 | <?xml version="1.0"?>
|
---|
2 | <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
---|
3 | <!-- /etc/fonts/fonts.conf file to configure system font access -->
|
---|
4 | <fontconfig>
|
---|
5 |
|
---|
6 | <!--
|
---|
7 | DO NOT EDIT THIS FILE.
|
---|
8 | IT WILL BE REPLACED WHEN FONTCONFIG IS UPDATED.
|
---|
9 | LOCAL CHANGES BELONG IN 'local.conf'.
|
---|
10 |
|
---|
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
|
---|
16 |
|
---|
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.
|
---|
20 |
|
---|
21 | Keith Packard
|
---|
22 | -->
|
---|
23 |
|
---|
24 | <!-- Font directory list -->
|
---|
25 |
|
---|
26 | <dir>@FC_DEFAULT_FONTS@</dir>
|
---|
27 | @FC_FONTPATH@
|
---|
28 | <dir prefix="xdg">fonts</dir>
|
---|
29 | <!-- the following element will be removed in the future -->
|
---|
30 | <dir>~/.fonts</dir>
|
---|
31 |
|
---|
32 | <!--
|
---|
33 | Accept deprecated 'mono' alias, replacing it with 'monospace'
|
---|
34 | -->
|
---|
35 | <match target="pattern">
|
---|
36 | <test qual="any" name="family">
|
---|
37 | <string>mono</string>
|
---|
38 | </test>
|
---|
39 | <edit name="family" mode="assign" binding="same">
|
---|
40 | <string>monospace</string>
|
---|
41 | </edit>
|
---|
42 | </match>
|
---|
43 |
|
---|
44 | <!--
|
---|
45 | Accept alternate 'sans serif' spelling, replacing it with 'sans-serif'
|
---|
46 | -->
|
---|
47 | <match target="pattern">
|
---|
48 | <test qual="any" name="family">
|
---|
49 | <string>sans serif</string>
|
---|
50 | </test>
|
---|
51 | <edit name="family" mode="assign" binding="same">
|
---|
52 | <string>sans-serif</string>
|
---|
53 | </edit>
|
---|
54 | </match>
|
---|
55 |
|
---|
56 | <!--
|
---|
57 | Accept deprecated 'sans' alias, replacing it with 'sans-serif'
|
---|
58 | -->
|
---|
59 | <match target="pattern">
|
---|
60 | <test qual="any" name="family">
|
---|
61 | <string>sans</string>
|
---|
62 | </test>
|
---|
63 | <edit name="family" mode="assign" binding="same">
|
---|
64 | <string>sans-serif</string>
|
---|
65 | </edit>
|
---|
66 | </match>
|
---|
67 |
|
---|
68 | <!--
|
---|
69 | Load local system customization file
|
---|
70 | -->
|
---|
71 | <include ignore_missing="yes">@CONFIGDIR@</include>
|
---|
72 |
|
---|
73 | <!-- Font cache directory list -->
|
---|
74 |
|
---|
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>
|
---|
79 |
|
---|
80 | <config>
|
---|
81 | <!--
|
---|
82 | Rescan configuration every 30 seconds when FcFontSetList is called
|
---|
83 | -->
|
---|
84 | <rescan>
|
---|
85 | <int>30</int>
|
---|
86 | </rescan>
|
---|
87 | </config>
|
---|
88 |
|
---|
89 | </fontconfig>
|
---|