2 <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
3 <!-- /etc/fonts.conf file to configure system font access -->
6 <!-- FONTPATH_START -->
9 Common X11R6 font directories
12 <dir>/usr/X11R6/lib/X11/fonts</dir>
13 <dir>/usr/share/fonts</dir>
18 Enable sub-pixel rendering
20 <edit name="rgba" mode="assign"><const>rgb</const></edit>
25 Accept deprecated 'mono' alias, replacing it with 'monospace'
27 <match target="pattern">
28 <test qual="any" name="family">
31 <edit name="family" mode="assign">
32 <string>monospace</string>
37 Accept deprecated 'sans' alias, replacing it with 'sans-serif'
39 <match target="pattern">
40 <test qual="any" name="family">
43 <edit name="family" mode="assign">
44 <string>sans-serif</string>
49 Mark common families with their generics so we'll get
57 <family>Times</family>
58 <family>Times New Roman</family>
59 <family>Nimbus Roman No9 L</family>
60 <family>Luxi Serif</family>
61 <family>Kochi Mincho</family>
62 <family>AR PL SungtiL GB</family>
63 <family>AR PL Mingti2L Big5</family>
64 <family>Baekmuk Batang</family>
65 <default><family>serif</family></default>
71 <family>Helvetica</family>
72 <family>Arial</family>
73 <family>Verdana</family>
74 <family>Nimbus Sans L</family>
75 <family>Luxi Sans</family>
76 <family>Kochi Gothic</family>
77 <family>AR PL KaitiM GB</family>
78 <family>AR PL KaitiM Big5</family>
79 <family>Baekmuk Dotum</family>
80 <family>SimSun</family>
81 <default><family>sans-serif</family></default>
87 <family>Courier</family>
88 <family>Courier New</family>
89 <family>Andale Mono</family>
90 <family>Luxi Mono</family>
91 <family>Nimbus Mono L</family>
92 <family>NSimSun</family>
93 <default><family>monospace</family></default>
96 If the font still has no generic name, add sans-serif
98 <match target="pattern">
99 <test qual="all" name="family" compare="not_eq">
100 <string>sans-serif</string>
102 <test qual="all" name="family" compare="not_eq">
103 <string>serif</string>
105 <test qual="all" name="family" compare="not_eq">
106 <string>monospace</string>
108 <edit name="family" mode="append_last">
109 <string>sans-serif</string>
114 Load per-user customization file
116 <include ignore_missing="yes">~/.fonts.conf</include>
119 Alias well known font names to available TrueType fonts
122 <family>Times</family>
123 <accept><family>Times New Roman</family></accept>
126 <family>Helvetica</family>
127 <accept><family>Verdana</family></accept>
130 <family>Arial</family>
131 <accept><family>Verdana</family></accept>
134 <family>Courier</family>
135 <accept><family>Courier New</family></accept>
139 Provide required aliases for standard names
142 <family>serif</family>
144 <family>Times New Roman</family>
145 <family>Nimbus Roman No9 L</family>
146 <family>Luxi Serif</family>
147 <family>Times</family>
148 <family>Kochi Mincho</family>
149 <family>AR PL SungtiL GB</family>
150 <family>AR PL Mingti2L Big5</family>
151 <family>Baekmuk Batang</family>
155 <family>sans-serif</family>
157 <family>Verdana</family>
158 <family>Nimbus Sans L</family>
159 <family>Luxi Sans</family>
160 <family>Arial</family>
161 <family>Helvetica</family>
162 <family>Kochi Gothic</family>
163 <family>AR PL KaitiM GB</family>
164 <family>AR PL KaitiM Big5</family>
165 <family>Baekmuk Dotum</family>
166 <family>SimSun</family>
170 <family>monospace</family>
172 <family>Andale Mono</family>
173 <family>Courier New</family>
174 <family>Luxi Mono</family>
175 <family>Nimbus Mono L</family>
176 <family>Kochi Gothic</family>
177 <family>AR PL KaitiM GB</family>
178 <family>Baekmuk Dotum</family>
183 Artificial oblique for fonts without an italic or oblique version
186 <match target="font">
187 <!-- check to see if the font is roman -->
188 <test qual="first" name="slant">
191 <!-- check to see if the pattern requested non-roman -->
192 <test qual="not_first" name="slant" compare="not_eq">
195 <!-- multiply the matrix to slant the font -->
196 <edit name="matrix" mode="assign">
199 <matrix><double>1</double><double>.2</double>
200 <double>0</double><double>1</double>
204 <!-- pretend the font is oblique now -->
205 <edit name="slant" mode="assign">
206 <const>oblique</const>
212 These are the default Unicode chars that are expected to be blank
213 in fonts. All other blank chars are assumed to be broken and
214 won't appear in the resulting charsets
217 <int>0x20</int> <!-- space -->
218 <int>0xa0</int> <!-- nsbp -->
219 <int>0x2000</int> <!-- general punctuation spaces -->
232 <int>0x3000</int> <!-- CJK space -->
235 Rescan configuration every 30 seconds when FcFontSetList is called