]>
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 | |
ef82cce1 KP |
14 | things that others will also want fixed. Please submit any |
15 | problems to the fontconfig bugzilla system located at fontconfig.org | |
a6531d8c | 16 | |
302e07f1 | 17 | Note that the normal 'make install' procedure for fontconfig is to |
0ce819b6 KP |
18 | replace any existing fonts.conf file with the new version. Place |
19 | any local customizations in local.conf which this file references. | |
20 | ||
a6531d8c KP |
21 | Keith Packard |
22 | --> | |
23 | ||
c5a0b541 | 24 | <!-- Font directory list --> |
24330d27 | 25 | |
20fa60c9 KP |
26 | <dir>@FC_DEFAULT_FONTS@</dir> |
27 | @FC_FONTPATH@ | |
a6531d8c | 28 | <dir>~/.fonts</dir> |
24330d27 | 29 | |
24330d27 KP |
30 | <!-- |
31 | Accept deprecated 'mono' alias, replacing it with 'monospace' | |
32 | --> | |
33 | <match target="pattern"> | |
34 | <test qual="any" name="family"> | |
35 | <string>mono</string> | |
36 | </test> | |
37 | <edit name="family" mode="assign"> | |
38 | <string>monospace</string> | |
39 | </edit> | |
40 | </match> | |
41 | ||
fa244f3d KP |
42 | <!-- |
43 | Accept alternate 'sans serif' spelling, replacing it with 'sans-serif' | |
44 | --> | |
45 | <match target="pattern"> | |
46 | <test qual="any" name="family"> | |
47 | <string>sans serif</string> | |
48 | </test> | |
49 | <edit name="family" mode="assign"> | |
50 | <string>sans-serif</string> | |
51 | </edit> | |
52 | </match> | |
53 | ||
24330d27 KP |
54 | <!-- |
55 | Accept deprecated 'sans' alias, replacing it with 'sans-serif' | |
56 | --> | |
57 | <match target="pattern"> | |
58 | <test qual="any" name="family"> | |
59 | <string>sans</string> | |
60 | </test> | |
61 | <edit name="family" mode="assign"> | |
62 | <string>sans-serif</string> | |
63 | </edit> | |
64 | </match> | |
65 | ||
66 | <!-- | |
67 | Mark common families with their generics so we'll get | |
68 | something reasonable | |
69 | --> | |
70 | ||
71 | <!-- | |
72 | Serif faces | |
73 | --> | |
74 | <alias> | |
b17cf498 | 75 | <family>DejaVu Serif</family> |
b1e98ed9 | 76 | <family>Bitstream Vera Serif</family> |
24330d27 | 77 | <family>Times New Roman</family> |
192296d8 KP |
78 | <family>Thorndale AMT</family> |
79 | <family>Times</family> | |
fb9545b1 KP |
80 | <family>Nimbus Roman No9 L</family> |
81 | <family>Luxi Serif</family> | |
06a48f20 KP |
82 | <family>Kochi Mincho</family> |
83 | <family>AR PL SungtiL GB</family> | |
899e3526 | 84 | <family>AR PL Mingti2L Big5</family> |
2ba729ed | 85 | <family>MS 明朝</family> |
e5871b5c KP |
86 | <family>Baekmuk Batang</family> |
87 | <family>FreeSerif</family> | |
328929f5 | 88 | <family>MgOpen Canonica</family> |
24330d27 KP |
89 | <default><family>serif</family></default> |
90 | </alias> | |
91 | <!-- | |
92 | Sans-serif faces | |
93 | --> | |
94 | <alias> | |
b17cf498 | 95 | <family>DejaVu Sans</family> |
b1e98ed9 | 96 | <family>Bitstream Vera Sans</family> |
24330d27 | 97 | <family>Helvetica</family> |
24330d27 | 98 | <family>Arial</family> |
24330d27 | 99 | <family>Verdana</family> |
192296d8 | 100 | <family>Albany AMT</family> |
fb9545b1 KP |
101 | <family>Nimbus Sans L</family> |
102 | <family>Luxi Sans</family> | |
06a48f20 KP |
103 | <family>Kochi Gothic</family> |
104 | <family>AR PL KaitiM GB</family> | |
899e3526 | 105 | <family>AR PL KaitiM Big5</family> |
2ba729ed | 106 | <family>MS ゴシック</family> |
06a48f20 | 107 | <family>Baekmuk Dotum</family> |
899e3526 | 108 | <family>SimSun</family> |
e5871b5c | 109 | <family>FreeSans</family> |
328929f5 | 110 | <family>MgOpen Modata</family> |
24330d27 KP |
111 | <default><family>sans-serif</family></default> |
112 | </alias> | |
113 | <!-- | |
114 | Monospace faces | |
115 | --> | |
116 | <alias> | |
b17cf498 | 117 | <family>DejaVu Sans Mono</family> |
24330d27 | 118 | <family>Courier</family> |
24330d27 | 119 | <family>Courier New</family> |
24330d27 | 120 | <family>Andale Mono</family> |
fb9545b1 | 121 | <family>Luxi Mono</family> |
192296d8 | 122 | <family>Cumberland AMT</family> |
06a48f20 | 123 | <family>Nimbus Mono L</family> |
899e3526 | 124 | <family>NSimSun</family> |
e5871b5c | 125 | <family>FreeMono</family> |
24330d27 KP |
126 | <default><family>monospace</family></default> |
127 | </alias> | |
128 | <!-- | |
129 | If the font still has no generic name, add sans-serif | |
130 | --> | |
131 | <match target="pattern"> | |
132 | <test qual="all" name="family" compare="not_eq"> | |
133 | <string>sans-serif</string> | |
134 | </test> | |
135 | <test qual="all" name="family" compare="not_eq"> | |
136 | <string>serif</string> | |
137 | </test> | |
138 | <test qual="all" name="family" compare="not_eq"> | |
139 | <string>monospace</string> | |
140 | </test> | |
141 | <edit name="family" mode="append_last"> | |
142 | <string>sans-serif</string> | |
143 | </edit> | |
144 | </match> | |
e5871b5c | 145 | |
192296d8 | 146 | <!-- |
716ac8b8 | 147 | URW provides metric and shape compatible fonts for these 3 Adobe families. |
192296d8 | 148 | --> |
716ac8b8 KP |
149 | <alias> |
150 | <family>Times</family> | |
151 | <accept><family>Nimbus Roman No9 L</family></accept> | |
152 | </alias> | |
153 | <alias> | |
154 | <family>Helvetica</family> | |
155 | <accept><family>Nimbus Sans L</family></accept> | |
156 | </alias> | |
157 | <alias> | |
158 | <family>Courier</family> | |
159 | <accept><family>Nimbus Mono L</family></accept> | |
160 | </alias> | |
192296d8 KP |
161 | |
162 | <!-- | |
163 | AMT provides metric and shape compatible fonts for these three web font | |
716ac8b8 | 164 | families. |
192296d8 KP |
165 | --> |
166 | <alias> | |
167 | <family>Times New Roman</family> | |
168 | <accept><family>Thorndale AMT</family></accept> | |
2ba729ed | 169 | </alias> |
192296d8 KP |
170 | <alias> |
171 | <family>Arial</family> | |
172 | <accept><family>Albany AMT</family></accept> | |
2ba729ed | 173 | </alias> |
192296d8 KP |
174 | <alias> |
175 | <family>Courier New</family> | |
176 | <accept><family>Cumberland AMT</family></accept> | |
2ba729ed | 177 | </alias> |
192296d8 | 178 | |
cc168fa6 KP |
179 | <!-- |
180 | Some Asian fonts misadvertise themselves as monospaced when | |
181 | in fact they are dual-spaced (half and full). This makes | |
182 | FreeType very confused as it forces all widths to match. | |
183 | Undo this magic by disabling the width forcing code --> | |
184 | <match target="font"> | |
185 | <test name="family"><string>GulimChe</string></test> | |
186 | <edit name="globaladvance"><bool>false</bool></edit> | |
187 | </match> | |
e5871b5c | 188 | |
cc168fa6 KP |
189 | <match target="font"> |
190 | <test name="family"><string>DotumChe</string></test> | |
191 | <edit name="globaladvance"><bool>false</bool></edit> | |
192 | </match> | |
193 | ||
df43986c KP |
194 | <match target="font"> |
195 | <test name="family"><string>BatangChe</string></test> | |
196 | <edit name="globaladvance"><bool>false</bool></edit> | |
197 | </match> | |
198 | ||
199 | <match target="font"> | |
200 | <test name="family"><string>GungsuhChe</string></test> | |
201 | <edit name="globaladvance"><bool>false</bool></edit> | |
202 | </match> | |
203 | ||
b1e98ed9 KP |
204 | <!-- |
205 | The Bitstream Vera fonts have GASP entries suggesting that hinting be | |
206 | disabled below 8 ppem, but FreeType ignores those, preferring to use | |
207 | the data found in the instructed hints. The initial Vera release | |
208 | didn't include the right instructions in the 'prep' table. Fix this | |
209 | by disabling hinting manually at smaller sizes (< 8ppem) | |
210 | --> | |
e5871b5c | 211 | |
b1e98ed9 KP |
212 | <match target="font"> |
213 | <test name="family"> | |
214 | <string>Bitstream Vera Sans</string> | |
215 | </test> | |
216 | <test name="pixelsize" compare="less"> | |
217 | <double>7.5</double> | |
218 | </test> | |
219 | <edit name="hinting"> | |
220 | <bool>false</bool> | |
221 | </edit> | |
222 | </match> | |
e5871b5c | 223 | |
b1e98ed9 KP |
224 | <match target="font"> |
225 | <test name="family"> | |
226 | <string>Bitstream Vera Serif</string> | |
227 | </test> | |
228 | <test name="pixelsize" compare="less"> | |
229 | <double>7.5</double> | |
230 | </test> | |
231 | <edit name="hinting"> | |
232 | <bool>false</bool> | |
233 | </edit> | |
234 | </match> | |
e5871b5c | 235 | |
b1e98ed9 KP |
236 | <match target="font"> |
237 | <test name="family"> | |
238 | <string>Bitstream Vera Sans Mono</string> | |
239 | </test> | |
240 | <test name="pixelsize" compare="less"> | |
241 | <double>7.5</double> | |
242 | </test> | |
243 | <edit name="hinting"> | |
244 | <bool>false</bool> | |
245 | </edit> | |
246 | </match> | |
e5871b5c | 247 | |
24330d27 KP |
248 | <!-- |
249 | Load per-user customization file | |
250 | --> | |
251 | <include ignore_missing="yes">~/.fonts.conf</include> | |
252 | ||
938bc633 KP |
253 | <!-- |
254 | Load local system customization file | |
255 | --> | |
2d9c79c0 | 256 | <include ignore_missing="yes">conf.d</include> |
938bc633 KP |
257 | <include ignore_missing="yes">local.conf</include> |
258 | ||
24330d27 KP |
259 | <!-- |
260 | Provide required aliases for standard names | |
261 | --> | |
262 | <alias> | |
263 | <family>serif</family> | |
264 | <prefer> | |
b17cf498 | 265 | <family>DejaVu Serif</family> |
b1e98ed9 | 266 | <family>Bitstream Vera Serif</family> |
24330d27 | 267 | <family>Times New Roman</family> |
192296d8 | 268 | <family>Thorndale AMT</family> |
24330d27 | 269 | <family>Luxi Serif</family> |
192296d8 | 270 | <family>Nimbus Roman No9 L</family> |
24330d27 | 271 | <family>Times</family> |
6d3a90a4 | 272 | <family>Frank Ruehl</family> |
328929f5 PL |
273 | <family>MgOpen Canonica</family> |
274 | <family>FreeSerif</family> | |
06a48f20 KP |
275 | <family>Kochi Mincho</family> |
276 | <family>AR PL SungtiL GB</family> | |
899e3526 | 277 | <family>AR PL Mingti2L Big5</family> |
2ba729ed | 278 | <family>MS 明朝</family> |
e5871b5c | 279 | <family>Baekmuk Batang</family> |
24330d27 KP |
280 | </prefer> |
281 | </alias> | |
282 | <alias> | |
283 | <family>sans-serif</family> | |
284 | <prefer> | |
b17cf498 | 285 | <family>DejaVu Sans</family> |
b1e98ed9 | 286 | <family>Bitstream Vera Sans</family> |
24330d27 | 287 | <family>Verdana</family> |
24330d27 | 288 | <family>Arial</family> |
192296d8 KP |
289 | <family>Albany AMT</family> |
290 | <family>Luxi Sans</family> | |
291 | <family>Nimbus Sans L</family> | |
24330d27 | 292 | <family>Helvetica</family> |
6d3a90a4 | 293 | <family>Nachlieli</family> |
328929f5 PL |
294 | <family>MgOpen Modata</family> |
295 | <family>FreeSans</family> | |
06a48f20 KP |
296 | <family>Kochi Gothic</family> |
297 | <family>AR PL KaitiM GB</family> | |
899e3526 | 298 | <family>AR PL KaitiM Big5</family> |
2ba729ed | 299 | <family>MS ゴシック</family> |
06a48f20 | 300 | <family>Baekmuk Dotum</family> |
899e3526 | 301 | <family>SimSun</family> |
24330d27 KP |
302 | </prefer> |
303 | </alias> | |
304 | <alias> | |
305 | <family>monospace</family> | |
306 | <prefer> | |
b17cf498 | 307 | <family>DejaVu Sans Mono</family> |
b1e98ed9 | 308 | <family>Bitstream Vera Sans Mono</family> |
24330d27 KP |
309 | <family>Andale Mono</family> |
310 | <family>Courier New</family> | |
192296d8 | 311 | <family>Cumberland AMT</family> |
24330d27 | 312 | <family>Luxi Mono</family> |
06a48f20 | 313 | <family>Nimbus Mono L</family> |
192296d8 | 314 | <family>Courier</family> |
6d3a90a4 | 315 | <family>Miriam Mono</family> |
328929f5 | 316 | <family>FreeMono</family> |
06a48f20 KP |
317 | <family>Kochi Gothic</family> |
318 | <family>AR PL KaitiM GB</family> | |
319 | <family>Baekmuk Dotum</family> | |
24330d27 KP |
320 | </prefer> |
321 | </alias> | |
322 | ||
c689ec22 KP |
323 | <!-- |
324 | Artificial oblique for fonts without an italic or oblique version | |
325 | --> | |
326 | ||
327 | <match target="font"> | |
328 | <!-- check to see if the font is roman --> | |
938bc633 | 329 | <test name="slant"> |
c689ec22 KP |
330 | <const>roman</const> |
331 | </test> | |
332 | <!-- check to see if the pattern requested non-roman --> | |
938bc633 | 333 | <test target="pattern" name="slant" compare="not_eq"> |
c689ec22 KP |
334 | <const>roman</const> |
335 | </test> | |
336 | <!-- multiply the matrix to slant the font --> | |
337 | <edit name="matrix" mode="assign"> | |
338 | <times> | |
339 | <name>matrix</name> | |
ddde1797 | 340 | <matrix><double>1</double><double>0.2</double> |
c689ec22 KP |
341 | <double>0</double><double>1</double> |
342 | </matrix> | |
343 | </times> | |
344 | </edit> | |
345 | <!-- pretend the font is oblique now --> | |
346 | <edit name="slant" mode="assign"> | |
347 | <const>oblique</const> | |
348 | </edit> | |
720298e7 PL |
349 | <!-- and disable embedded bitmaps for artificial oblique --> |
350 | <edit name="embeddedbitmap" mode="assign"> | |
351 | <bool>false</bool> | |
352 | </edit> | |
c689ec22 KP |
353 | </match> |
354 | ||
46a10637 KP |
355 | <!-- |
356 | Synthetic emboldening for fonts that do not have bold face available | |
357 | --> | |
358 | ||
359 | <match target="font"> | |
360 | <!-- check to see if the font is just regular --> | |
361 | <test name="weight" compare="less_eq"> | |
efa9f2bd | 362 | <const>medium</const> |
46a10637 KP |
363 | </test> |
364 | <!-- check to see if the pattern requests bold --> | |
efa9f2bd PL |
365 | <test target="pattern" name="weight" compare="more"> |
366 | <const>medium</const> | |
46a10637 | 367 | </test> |
efa9f2bd PL |
368 | <!-- |
369 | set the embolden flag | |
370 | needed for applications using cairo, e.g. gucharmap, gedit, ... | |
371 | --> | |
46a10637 KP |
372 | <edit name="embolden" mode="assign"> |
373 | <bool>true</bool> | |
374 | </edit> | |
efa9f2bd PL |
375 | <!-- |
376 | set weight to bold | |
377 | needed for applications using Xft directly, e.g. Firefox, ... | |
378 | --> | |
379 | <edit name="weight" mode="assign"> | |
380 | <const>bold</const> | |
381 | </edit> | |
46a10637 KP |
382 | </match> |
383 | ||
384 | ||
fb9545b1 | 385 | <config> |
24330d27 KP |
386 | <!-- |
387 | These are the default Unicode chars that are expected to be blank | |
388 | in fonts. All other blank chars are assumed to be broken and | |
389 | won't appear in the resulting charsets | |
390 | --> | |
fb9545b1 | 391 | <blank> |
9cc93576 | 392 | <int>0x0020</int> <!-- SPACE --> |
8759822e KP |
393 | <int>0x00A0</int> <!-- NO-BREAK SPACE --> |
394 | <int>0x00AD</int> <!-- SOFT HYPHEN --> | |
395 | <int>0x034F</int> <!-- COMBINING GRAPHEME JOINER --> | |
396 | <int>0x0600</int> <!-- ARABIC NUMBER SIGN --> | |
397 | <int>0x0601</int> <!-- ARABIC SIGN SANAH --> | |
398 | <int>0x0602</int> <!-- ARABIC FOOTNOTE MARKER --> | |
399 | <int>0x0603</int> <!-- ARABIC SIGN SAFHA --> | |
400 | <int>0x06DD</int> <!-- ARABIC END OF AYAH --> | |
401 | <int>0x070F</int> <!-- SYRIAC ABBREVIATION MARK --> | |
402 | <int>0x115F</int> <!-- HANGUL CHOSEONG FILLER --> | |
9cc93576 KP |
403 | <int>0x1160</int> <!-- HANGUL JUNGSEONG FILLER --> |
404 | <int>0x1680</int> <!-- OGHAM SPACE MARK --> | |
8759822e KP |
405 | <int>0x17B4</int> <!-- KHMER VOWEL INHERENT AQ --> |
406 | <int>0x17B5</int> <!-- KHMER VOWEL INHERENT AA --> | |
407 | <int>0x180E</int> <!-- MONGOLIAN VOWEL SEPARATOR --> | |
9cc93576 KP |
408 | <int>0x2000</int> <!-- EN QUAD --> |
409 | <int>0x2001</int> <!-- EM QUAD --> | |
410 | <int>0x2002</int> <!-- EN SPACE --> | |
411 | <int>0x2003</int> <!-- EM SPACE --> | |
412 | <int>0x2004</int> <!-- THREE-PER-EM SPACE --> | |
413 | <int>0x2005</int> <!-- FOUR-PER-EM SPACE --> | |
414 | <int>0x2006</int> <!-- SIX-PER-EM SPACE --> | |
415 | <int>0x2007</int> <!-- FIGURE SPACE --> | |
416 | <int>0x2008</int> <!-- PUNCTUATION SPACE --> | |
417 | <int>0x2009</int> <!-- THIN SPACE --> | |
8759822e KP |
418 | <int>0x200A</int> <!-- HAIR SPACE --> |
419 | <int>0x200B</int> <!-- ZERO WIDTH SPACE --> | |
420 | <int>0x200C</int> <!-- ZERO WIDTH NON-JOINER --> | |
421 | <int>0x200D</int> <!-- ZERO WIDTH JOINER --> | |
422 | <int>0x200E</int> <!-- LEFT-TO-RIGHT MARK --> | |
423 | <int>0x200F</int> <!-- RIGHT-TO-LEFT MARK --> | |
9cc93576 KP |
424 | <int>0x2028</int> <!-- LINE SEPARATOR --> |
425 | <int>0x2029</int> <!-- PARAGRAPH SEPARATOR --> | |
8759822e KP |
426 | <int>0x202A</int> <!-- LEFT-TO-RIGHT EMBEDDING --> |
427 | <int>0x202B</int> <!-- RIGHT-TO-LEFT EMBEDDING --> | |
428 | <int>0x202C</int> <!-- POP DIRECTIONAL FORMATTING --> | |
429 | <int>0x202D</int> <!-- LEFT-TO-RIGHT OVERRIDE --> | |
430 | <int>0x202E</int> <!-- RIGHT-TO-LEFT OVERRIDE --> | |
431 | <int>0x202F</int> <!-- NARROW NO-BREAK SPACE --> | |
432 | <int>0x205F</int> <!-- MEDIUM MATHEMATICAL SPACE --> | |
9cc93576 KP |
433 | <int>0x2060</int> <!-- WORD JOINER --> |
434 | <int>0x2061</int> <!-- FUNCTION APPLICATION --> | |
435 | <int>0x2062</int> <!-- INVISIBLE TIMES --> | |
436 | <int>0x2063</int> <!-- INVISIBLE SEPARATOR --> | |
ce50587c KP |
437 | <int>0x206A</int> <!-- INHIBIT SYMMETRIC SWAPPING --> |
438 | <int>0x206B</int> <!-- ACTIVATE SYMMETRIC SWAPPING --> | |
439 | <int>0x206C</int> <!-- INHIBIT ARABIC FORM SHAPING --> | |
440 | <int>0x206D</int> <!-- ACTIVATE ARABIC FORM SHAPING --> | |
441 | <int>0x206E</int> <!-- NATIONAL DIGIT SHAPES --> | |
442 | <int>0x206F</int> <!-- NOMINAL DIGIT SHAPES --> | |
9cc93576 | 443 | <int>0x3000</int> <!-- IDEOGRAPHIC SPACE --> |
f9ad97b0 | 444 | <int>0x3164</int> <!-- HANGUL FILLER --> |
8759822e KP |
445 | <int>0xFEFF</int> <!-- ZERO WIDTH NO-BREAK SPACE --> |
446 | <int>0xFFA0</int> <!-- HALFWIDTH HANGUL FILLER --> | |
447 | <int>0xFFF9</int> <!-- INTERLINEAR ANNOTATION ANCHOR --> | |
448 | <int>0xFFFA</int> <!-- INTERLINEAR ANNOTATION SEPARATOR --> | |
449 | <int>0xFFFB</int> <!-- INTERLINEAR ANNOTATION TERMINATOR --> | |
fb9545b1 KP |
450 | </blank> |
451 | <!-- | |
452 | Rescan configuration every 30 seconds when FcFontSetList is called | |
453 | --> | |
454 | <rescan> | |
455 | <int>30</int> | |
456 | </rescan> | |
457 | </config> | |
24330d27 KP |
458 | |
459 | </fontconfig> |