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