2 <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
3 <!-- /etc/fonts.conf file to configure system font access -->
7 The intent of this standard configuration file is to be adequate for
8 most environments. If you have a reasonably normal environment and
9 have found problems with this configuration, they are probably
10 things that others will also want fixed. Please send any suggested
11 changes to fonts@xfree86.org so that future releases can include
17 <!-- FONTPATH_START -->
20 Common X11R6 font directories
23 <dir>/usr/X11R6/lib/X11/fonts</dir>
24 <dir>/usr/share/fonts</dir>
30 Enable sub-pixel rendering
32 <edit name="rgba" mode="assign"><const>rgb</const></edit>
37 Accept deprecated 'mono' alias, replacing it with 'monospace'
39 <match target="pattern">
40 <test qual="any" name="family">
43 <edit name="family" mode="assign">
44 <string>monospace</string>
49 Accept deprecated 'sans' alias, replacing it with 'sans-serif'
51 <match target="pattern">
52 <test qual="any" name="family">
55 <edit name="family" mode="assign">
56 <string>sans-serif</string>
61 Mark common families with their generics so we'll get
69 <family>Times</family>
70 <family>Times New Roman</family>
71 <family>Nimbus Roman No9 L</family>
72 <family>Luxi Serif</family>
73 <family>Kochi Mincho</family>
74 <family>AR PL SungtiL GB</family>
75 <family>AR PL Mingti2L Big5</family>
76 <family>Baekmuk Batang</family>
77 <default><family>serif</family></default>
83 <family>Helvetica</family>
84 <family>Arial</family>
85 <family>Verdana</family>
86 <family>Nimbus Sans L</family>
87 <family>Luxi Sans</family>
88 <family>Kochi Gothic</family>
89 <family>AR PL KaitiM GB</family>
90 <family>AR PL KaitiM Big5</family>
91 <family>Baekmuk Dotum</family>
92 <family>SimSun</family>
93 <default><family>sans-serif</family></default>
99 <family>Courier</family>
100 <family>Courier New</family>
101 <family>Andale Mono</family>
102 <family>Luxi Mono</family>
103 <family>Nimbus Mono L</family>
104 <family>NSimSun</family>
105 <default><family>monospace</family></default>
108 If the font still has no generic name, add sans-serif
110 <match target="pattern">
111 <test qual="all" name="family" compare="not_eq">
112 <string>sans-serif</string>
114 <test qual="all" name="family" compare="not_eq">
115 <string>serif</string>
117 <test qual="all" name="family" compare="not_eq">
118 <string>monospace</string>
120 <edit name="family" mode="append_last">
121 <string>sans-serif</string>
126 Load per-user customization file
128 <include ignore_missing="yes">~/.fonts.conf</include>
131 Load local system customization file
133 <include ignore_missing="yes">local.conf</include>
136 Alias well known font names to available TrueType fonts
139 <family>Times</family>
140 <accept><family>Times New Roman</family></accept>
143 <family>Helvetica</family>
144 <accept><family>Verdana</family></accept>
147 <family>Arial</family>
148 <accept><family>Verdana</family></accept>
151 <family>Courier</family>
152 <accept><family>Courier New</family></accept>
156 Provide required aliases for standard names
159 <family>serif</family>
161 <family>Times New Roman</family>
162 <family>Nimbus Roman No9 L</family>
163 <family>Luxi Serif</family>
164 <family>Times</family>
165 <family>Kochi Mincho</family>
166 <family>AR PL SungtiL GB</family>
167 <family>AR PL Mingti2L Big5</family>
168 <family>Baekmuk Batang</family>
172 <family>sans-serif</family>
174 <family>Verdana</family>
175 <family>Nimbus Sans L</family>
176 <family>Luxi Sans</family>
177 <family>Arial</family>
178 <family>Helvetica</family>
179 <family>Kochi Gothic</family>
180 <family>AR PL KaitiM GB</family>
181 <family>AR PL KaitiM Big5</family>
182 <family>Baekmuk Dotum</family>
183 <family>SimSun</family>
187 <family>monospace</family>
189 <family>Andale Mono</family>
190 <family>Courier New</family>
191 <family>Luxi Mono</family>
192 <family>Nimbus Mono L</family>
193 <family>Kochi Gothic</family>
194 <family>AR PL KaitiM GB</family>
195 <family>Baekmuk Dotum</family>
200 Artificial oblique for fonts without an italic or oblique version
203 <match target="font">
204 <!-- check to see if the font is roman -->
208 <!-- check to see if the pattern requested non-roman -->
209 <test target="pattern" name="slant" compare="not_eq">
212 <!-- multiply the matrix to slant the font -->
213 <edit name="matrix" mode="assign">
216 <matrix><double>1</double><double>.2</double>
217 <double>0</double><double>1</double>
221 <!-- pretend the font is oblique now -->
222 <edit name="slant" mode="assign">
223 <const>oblique</const>
229 These are the default Unicode chars that are expected to be blank
230 in fonts. All other blank chars are assumed to be broken and
231 won't appear in the resulting charsets
234 <int>0x20</int> <!-- space -->
235 <int>0xa0</int> <!-- nsbp -->
236 <int>0x2000</int> <!-- general punctuation spaces -->
249 <int>0x3000</int> <!-- CJK space -->
252 Rescan configuration every 30 seconds when FcFontSetList is called