]>
Commit | Line | Data |
---|---|---|
24330d27 KP |
1 | <?xml version="1.0"?> |
2 | <!DOCTYPE fontconfig SYSTEM "fonts.dtd"> | |
302e07f1 | 3 | <!-- /etc/fonts/fonts.conf file to configure system font access --> |
24330d27 KP |
4 | <fontconfig> |
5 | ||
a6531d8c | 6 | <!-- |
302e07f1 KP |
7 | DO NOT EDIT THIS FILE. |
8 | IT WILL BE REPLACED WHEN FONTCONFIG IS UPDATED. | |
9 | LOCAL CHANGES BELONG IN 'local.conf'. | |
10 | ||
a6531d8c KP |
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 send any suggested | |
15 | changes to fonts@xfree86.org so that future releases can include | |
16 | such changes. | |
17 | ||
302e07f1 | 18 | Note that the normal 'make install' procedure for fontconfig is to |
0ce819b6 KP |
19 | replace any existing fonts.conf file with the new version. Place |
20 | any local customizations in local.conf which this file references. | |
21 | ||
a6531d8c KP |
22 | Keith Packard |
23 | --> | |
24 | ||
24330d27 KP |
25 | <!-- FONTPATH_START --> |
26 | ||
27 | <!-- | |
28 | Common X11R6 font directories | |
29 | --> | |
30 | ||
6fff2cda KP |
31 | <dir>/usr/X11R6/lib/X11/fonts</dir> |
32 | <dir>/usr/share/fonts</dir> | |
a6531d8c | 33 | <dir>~/.fonts</dir> |
24330d27 KP |
34 | |
35 | <!-- FONTPATH_END --> | |
36 | ||
6fff2cda KP |
37 | <!-- |
38 | Enable sub-pixel rendering | |
39 | <match target="font"> | |
0ce819b6 KP |
40 | <test qual="all" name="rgba"> |
41 | <const>unknown</const> | |
42 | </test> | |
6fff2cda KP |
43 | <edit name="rgba" mode="assign"><const>rgb</const></edit> |
44 | </match> | |
45 | --> | |
46 | ||
24330d27 KP |
47 | <!-- |
48 | Accept deprecated 'mono' alias, replacing it with 'monospace' | |
49 | --> | |
50 | <match target="pattern"> | |
51 | <test qual="any" name="family"> | |
52 | <string>mono</string> | |
53 | </test> | |
54 | <edit name="family" mode="assign"> | |
55 | <string>monospace</string> | |
56 | </edit> | |
57 | </match> | |
58 | ||
fa244f3d KP |
59 | <!-- |
60 | Accept alternate 'sans serif' spelling, replacing it with 'sans-serif' | |
61 | --> | |
62 | <match target="pattern"> | |
63 | <test qual="any" name="family"> | |
64 | <string>sans serif</string> | |
65 | </test> | |
66 | <edit name="family" mode="assign"> | |
67 | <string>sans-serif</string> | |
68 | </edit> | |
69 | </match> | |
70 | ||
24330d27 KP |
71 | <!-- |
72 | Accept deprecated 'sans' alias, replacing it with 'sans-serif' | |
73 | --> | |
74 | <match target="pattern"> | |
75 | <test qual="any" name="family"> | |
76 | <string>sans</string> | |
77 | </test> | |
78 | <edit name="family" mode="assign"> | |
79 | <string>sans-serif</string> | |
80 | </edit> | |
81 | </match> | |
82 | ||
83 | <!-- | |
84 | Mark common families with their generics so we'll get | |
85 | something reasonable | |
86 | --> | |
87 | ||
88 | <!-- | |
89 | Serif faces | |
90 | --> | |
91 | <alias> | |
92 | <family>Times</family> | |
24330d27 | 93 | <family>Times New Roman</family> |
fb9545b1 KP |
94 | <family>Nimbus Roman No9 L</family> |
95 | <family>Luxi Serif</family> | |
06a48f20 KP |
96 | <family>Kochi Mincho</family> |
97 | <family>AR PL SungtiL GB</family> | |
899e3526 | 98 | <family>AR PL Mingti2L Big5</family> |
06a48f20 | 99 | <family>Baekmuk Batang</family> |
24330d27 KP |
100 | <default><family>serif</family></default> |
101 | </alias> | |
102 | <!-- | |
103 | Sans-serif faces | |
104 | --> | |
105 | <alias> | |
106 | <family>Helvetica</family> | |
24330d27 | 107 | <family>Arial</family> |
24330d27 | 108 | <family>Verdana</family> |
fb9545b1 KP |
109 | <family>Nimbus Sans L</family> |
110 | <family>Luxi Sans</family> | |
06a48f20 KP |
111 | <family>Kochi Gothic</family> |
112 | <family>AR PL KaitiM GB</family> | |
899e3526 | 113 | <family>AR PL KaitiM Big5</family> |
06a48f20 | 114 | <family>Baekmuk Dotum</family> |
899e3526 | 115 | <family>SimSun</family> |
24330d27 KP |
116 | <default><family>sans-serif</family></default> |
117 | </alias> | |
118 | <!-- | |
119 | Monospace faces | |
120 | --> | |
121 | <alias> | |
122 | <family>Courier</family> | |
24330d27 | 123 | <family>Courier New</family> |
24330d27 | 124 | <family>Andale Mono</family> |
fb9545b1 | 125 | <family>Luxi Mono</family> |
06a48f20 | 126 | <family>Nimbus Mono L</family> |
899e3526 | 127 | <family>NSimSun</family> |
24330d27 KP |
128 | <default><family>monospace</family></default> |
129 | </alias> | |
130 | <!-- | |
131 | If the font still has no generic name, add sans-serif | |
132 | --> | |
133 | <match target="pattern"> | |
134 | <test qual="all" name="family" compare="not_eq"> | |
135 | <string>sans-serif</string> | |
136 | </test> | |
137 | <test qual="all" name="family" compare="not_eq"> | |
138 | <string>serif</string> | |
139 | </test> | |
140 | <test qual="all" name="family" compare="not_eq"> | |
141 | <string>monospace</string> | |
142 | </test> | |
143 | <edit name="family" mode="append_last"> | |
144 | <string>sans-serif</string> | |
145 | </edit> | |
146 | </match> | |
147 | ||
148 | <!-- | |
149 | Load per-user customization file | |
150 | --> | |
151 | <include ignore_missing="yes">~/.fonts.conf</include> | |
152 | ||
938bc633 KP |
153 | <!-- |
154 | Load local system customization file | |
155 | --> | |
156 | <include ignore_missing="yes">local.conf</include> | |
157 | ||
24330d27 KP |
158 | <!-- |
159 | Alias well known font names to available TrueType fonts | |
160 | --> | |
161 | <alias> | |
162 | <family>Times</family> | |
fb9545b1 | 163 | <accept><family>Times New Roman</family></accept> |
24330d27 KP |
164 | </alias> |
165 | <alias> | |
166 | <family>Helvetica</family> | |
fb9545b1 | 167 | <accept><family>Verdana</family></accept> |
24330d27 KP |
168 | </alias> |
169 | <alias> | |
170 | <family>Arial</family> | |
fb9545b1 | 171 | <accept><family>Verdana</family></accept> |
24330d27 KP |
172 | </alias> |
173 | <alias> | |
174 | <family>Courier</family> | |
fb9545b1 | 175 | <accept><family>Courier New</family></accept> |
24330d27 KP |
176 | </alias> |
177 | ||
b7a2e1e2 KP |
178 | <!-- |
179 | Check user preference to avoid bitmap fonts and replace | |
180 | bitmap face names with equivalent scalable fonts | |
181 | --> | |
182 | ||
183 | <match target="pattern"> | |
184 | <test name="prefer_outline"> | |
185 | <bool>true</bool> | |
186 | </test> | |
187 | <test name="family"> | |
188 | <string>Helvetica</string> | |
189 | </test> | |
190 | <edit name="family" mode="prepend" binding="same"> | |
191 | <string>Arial</string> | |
192 | </edit> | |
193 | </match> | |
194 | ||
195 | <match target="pattern"> | |
196 | <test name="prefer_outline"> | |
197 | <bool>true</bool> | |
198 | </test> | |
199 | <test name="family"> | |
200 | <string>Times</string> | |
201 | </test> | |
202 | <edit name="family" mode="prepend" binding="same"> | |
203 | <string>Times New Roman</string> | |
204 | </edit> | |
205 | </match> | |
24330d27 KP |
206 | <!-- |
207 | Provide required aliases for standard names | |
208 | --> | |
209 | <alias> | |
210 | <family>serif</family> | |
211 | <prefer> | |
212 | <family>Times New Roman</family> | |
213 | <family>Nimbus Roman No9 L</family> | |
214 | <family>Luxi Serif</family> | |
215 | <family>Times</family> | |
06a48f20 KP |
216 | <family>Kochi Mincho</family> |
217 | <family>AR PL SungtiL GB</family> | |
899e3526 | 218 | <family>AR PL Mingti2L Big5</family> |
06a48f20 | 219 | <family>Baekmuk Batang</family> |
24330d27 KP |
220 | </prefer> |
221 | </alias> | |
222 | <alias> | |
223 | <family>sans-serif</family> | |
224 | <prefer> | |
225 | <family>Verdana</family> | |
226 | <family>Nimbus Sans L</family> | |
227 | <family>Luxi Sans</family> | |
228 | <family>Arial</family> | |
229 | <family>Helvetica</family> | |
06a48f20 KP |
230 | <family>Kochi Gothic</family> |
231 | <family>AR PL KaitiM GB</family> | |
899e3526 | 232 | <family>AR PL KaitiM Big5</family> |
06a48f20 | 233 | <family>Baekmuk Dotum</family> |
899e3526 | 234 | <family>SimSun</family> |
24330d27 KP |
235 | </prefer> |
236 | </alias> | |
237 | <alias> | |
238 | <family>monospace</family> | |
239 | <prefer> | |
240 | <family>Andale Mono</family> | |
241 | <family>Courier New</family> | |
24330d27 | 242 | <family>Luxi Mono</family> |
06a48f20 KP |
243 | <family>Nimbus Mono L</family> |
244 | <family>Kochi Gothic</family> | |
245 | <family>AR PL KaitiM GB</family> | |
246 | <family>Baekmuk Dotum</family> | |
24330d27 KP |
247 | </prefer> |
248 | </alias> | |
249 | ||
c689ec22 KP |
250 | <!-- |
251 | Artificial oblique for fonts without an italic or oblique version | |
252 | --> | |
253 | ||
254 | <match target="font"> | |
255 | <!-- check to see if the font is roman --> | |
938bc633 | 256 | <test name="slant"> |
c689ec22 KP |
257 | <const>roman</const> |
258 | </test> | |
259 | <!-- check to see if the pattern requested non-roman --> | |
938bc633 | 260 | <test target="pattern" name="slant" compare="not_eq"> |
c689ec22 KP |
261 | <const>roman</const> |
262 | </test> | |
263 | <!-- multiply the matrix to slant the font --> | |
264 | <edit name="matrix" mode="assign"> | |
265 | <times> | |
266 | <name>matrix</name> | |
267 | <matrix><double>1</double><double>.2</double> | |
268 | <double>0</double><double>1</double> | |
269 | </matrix> | |
270 | </times> | |
271 | </edit> | |
272 | <!-- pretend the font is oblique now --> | |
273 | <edit name="slant" mode="assign"> | |
274 | <const>oblique</const> | |
275 | </edit> | |
276 | </match> | |
277 | ||
fb9545b1 | 278 | <config> |
24330d27 KP |
279 | <!-- |
280 | These are the default Unicode chars that are expected to be blank | |
281 | in fonts. All other blank chars are assumed to be broken and | |
282 | won't appear in the resulting charsets | |
283 | --> | |
fb9545b1 | 284 | <blank> |
9cc93576 KP |
285 | <int>0x0020</int> <!-- SPACE --> |
286 | <int>0x00a0</int> <!-- NO-BREAK SPACE --> | |
287 | <int>0x00ad</int> <!-- SOFT HYPHEN --> | |
288 | <int>0x115f</int> <!-- HANGUL CHOSEONG FILLER --> | |
289 | <int>0x1160</int> <!-- HANGUL JUNGSEONG FILLER --> | |
290 | <int>0x1680</int> <!-- OGHAM SPACE MARK --> | |
291 | <int>0x2000</int> <!-- EN QUAD --> | |
292 | <int>0x2001</int> <!-- EM QUAD --> | |
293 | <int>0x2002</int> <!-- EN SPACE --> | |
294 | <int>0x2003</int> <!-- EM SPACE --> | |
295 | <int>0x2004</int> <!-- THREE-PER-EM SPACE --> | |
296 | <int>0x2005</int> <!-- FOUR-PER-EM SPACE --> | |
297 | <int>0x2006</int> <!-- SIX-PER-EM SPACE --> | |
298 | <int>0x2007</int> <!-- FIGURE SPACE --> | |
299 | <int>0x2008</int> <!-- PUNCTUATION SPACE --> | |
300 | <int>0x2009</int> <!-- THIN SPACE --> | |
301 | <int>0x200a</int> <!-- HAIR SPACE --> | |
302 | <int>0x200b</int> <!-- ZERO WIDTH SPACE --> | |
303 | <int>0x200c</int> <!-- ZERO WIDTH NON-JOINER --> | |
304 | <int>0x200d</int> <!-- ZERO WIDTH JOINER --> | |
305 | <int>0x200e</int> <!-- LEFT-TO-RIGHT MARK --> | |
306 | <int>0x200f</int> <!-- RIGHT-TO-LEFT MARK --> | |
307 | <int>0x2028</int> <!-- LINE SEPARATOR --> | |
308 | <int>0x2029</int> <!-- PARAGRAPH SEPARATOR --> | |
309 | <int>0x202a</int> <!-- LEFT-TO-RIGHT EMBEDDING --> | |
310 | <int>0x202b</int> <!-- RIGHT-TO-LEFT EMBEDDING --> | |
311 | <int>0x202c</int> <!-- POP DIRECTIONAL FORMATTING --> | |
312 | <int>0x202d</int> <!-- LEFT-TO-RIGHT OVERRIDE --> | |
313 | <int>0x202e</int> <!-- RIGHT-TO-LEFT OVERRIDE --> | |
314 | <int>0x202f</int> <!-- NARROW NO-BREAK SPACE --> | |
315 | <int>0x205f</int> <!-- MEDIUM MATHEMATICAL SPACE --> | |
316 | <int>0x2060</int> <!-- WORD JOINER --> | |
317 | <int>0x2061</int> <!-- FUNCTION APPLICATION --> | |
318 | <int>0x2062</int> <!-- INVISIBLE TIMES --> | |
319 | <int>0x2063</int> <!-- INVISIBLE SEPARATOR --> | |
ce50587c KP |
320 | <int>0x206A</int> <!-- INHIBIT SYMMETRIC SWAPPING --> |
321 | <int>0x206B</int> <!-- ACTIVATE SYMMETRIC SWAPPING --> | |
322 | <int>0x206C</int> <!-- INHIBIT ARABIC FORM SHAPING --> | |
323 | <int>0x206D</int> <!-- ACTIVATE ARABIC FORM SHAPING --> | |
324 | <int>0x206E</int> <!-- NATIONAL DIGIT SHAPES --> | |
325 | <int>0x206F</int> <!-- NOMINAL DIGIT SHAPES --> | |
9cc93576 | 326 | <int>0x3000</int> <!-- IDEOGRAPHIC SPACE --> |
f9ad97b0 | 327 | <int>0x3164</int> <!-- HANGUL FILLER --> |
9cc93576 | 328 | <int>0xfeff</int> <!-- ZERO WIDTH NO-BREAK SPACE --> |
10bac9b5 KP |
329 | <int>0xffa0</int> <!-- HALFWIDTH HANGUL FILLER --> |
330 | <int>0xfff9</int> <!-- INTERLINEAR ANNOTATION ANCHOR --> | |
331 | <int>0xfffa</int> <!-- INTERLINEAR ANNOTATION SEPARATOR --> | |
3d72cadd | 332 | <int>0xfffb</int> <!-- INTERLINEAR ANNOTATION TERMINATOR --> |
fb9545b1 KP |
333 | </blank> |
334 | <!-- | |
335 | Rescan configuration every 30 seconds when FcFontSetList is called | |
336 | --> | |
337 | <rescan> | |
338 | <int>30</int> | |
339 | </rescan> | |
340 | </config> | |
24330d27 KP |
341 | |
342 | </fontconfig> |