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/truetype</dir>
13 <dir>/usr/X11R6/lib/X11/fonts/Type1</dir>
14 <dir>/usr/X11R6/lib/X11/fonts/TrueType</dir>
19 Accept deprecated 'mono' alias, replacing it with 'monospace'
21 <match target="pattern">
22 <test qual="any" name="family">
25 <edit name="family" mode="assign">
26 <string>monospace</string>
31 Accept deprecated 'sans' alias, replacing it with 'sans-serif'
33 <match target="pattern">
34 <test qual="any" name="family">
37 <edit name="family" mode="assign">
38 <string>sans-serif</string>
43 Mark common families with their generics so we'll get
51 <family>Times</family>
52 <family>Times New Roman</family>
53 <family>Nimbus Roman No9 L</family>
54 <family>Luxi Serif</family>
55 <family>Kochi Mincho</family>
56 <family>AR PL SungtiL GB</family>
57 <family>Baekmuk Batang</family>
58 <default><family>serif</family></default>
64 <family>Helvetica</family>
65 <family>Arial</family>
66 <family>Verdana</family>
67 <family>Nimbus Sans L</family>
68 <family>Luxi Sans</family>
69 <family>Kochi Gothic</family>
70 <family>AR PL KaitiM GB</family>
71 <family>Baekmuk Dotum</family>
72 <default><family>sans-serif</family></default>
78 <family>Courier</family>
79 <family>Courier New</family>
80 <family>Andale Mono</family>
81 <family>Luxi Mono</family>
82 <family>Nimbus Mono L</family>
83 <default><family>monospace</family></default>
86 If the font still has no generic name, add sans-serif
88 <match target="pattern">
89 <test qual="all" name="family" compare="not_eq">
90 <string>sans-serif</string>
92 <test qual="all" name="family" compare="not_eq">
93 <string>serif</string>
95 <test qual="all" name="family" compare="not_eq">
96 <string>monospace</string>
98 <edit name="family" mode="append_last">
99 <string>sans-serif</string>
104 Load per-user customization file
106 <include ignore_missing="yes">~/.fonts.conf</include>
109 Alias well known font names to available TrueType fonts
112 <family>Times</family>
113 <accept><family>Times New Roman</family></accept>
116 <family>Helvetica</family>
117 <accept><family>Verdana</family></accept>
120 <family>Arial</family>
121 <accept><family>Verdana</family></accept>
124 <family>Courier</family>
125 <accept><family>Courier New</family></accept>
129 Provide required aliases for standard names
132 <family>serif</family>
134 <family>Times New Roman</family>
135 <family>Nimbus Roman No9 L</family>
136 <family>Luxi Serif</family>
137 <family>Times</family>
138 <family>Kochi Mincho</family>
139 <family>AR PL SungtiL GB</family>
140 <family>Baekmuk Batang</family>
144 <family>sans-serif</family>
146 <family>Verdana</family>
147 <family>Nimbus Sans L</family>
148 <family>Luxi Sans</family>
149 <family>Arial</family>
150 <family>Helvetica</family>
151 <family>Kochi Gothic</family>
152 <family>AR PL KaitiM GB</family>
153 <family>Baekmuk Dotum</family>
157 <family>monospace</family>
159 <family>Andale Mono</family>
160 <family>Courier New</family>
161 <family>Luxi Mono</family>
162 <family>Nimbus Mono L</family>
163 <family>Kochi Gothic</family>
164 <family>AR PL KaitiM GB</family>
165 <family>Baekmuk Dotum</family>
170 Artificial oblique for fonts without an italic or oblique version
173 <match target="font">
174 <!-- check to see if the font is roman -->
175 <test qual="first" name="slant">
178 <!-- check to see if the pattern requested non-roman -->
179 <test qual="not_first" name="slant" compare="not_eq">
182 <!-- multiply the matrix to slant the font -->
183 <edit name="matrix" mode="assign">
186 <matrix><double>1</double><double>.2</double>
187 <double>0</double><double>1</double>
191 <!-- pretend the font is oblique now -->
192 <edit name="slant" mode="assign">
193 <const>oblique</const>
199 These are the default Unicode chars that are expected to be blank
200 in fonts. All other blank chars are assumed to be broken and
201 won't appear in the resulting charsets
204 <int>0x20</int> <!-- space -->
205 <int>0xa0</int> <!-- nsbp -->
206 <int>0x2000</int> <!-- general punctuation spaces -->
219 <int>0x3000</int> <!-- CJK space -->
222 Rescan configuration every 30 seconds when FcFontSetList is called