]>
Commit | Line | Data |
---|---|---|
1 | <?xml version="1.0"?> | |
2 | <!DOCTYPE fontconfig SYSTEM "fonts.dtd"> | |
3 | <!-- /etc/fonts/fonts.conf file to configure system font access --> | |
4 | <fontconfig> | |
5 | ||
6 | <!-- | |
7 | DO NOT EDIT THIS FILE. | |
8 | IT WILL BE REPLACED WHEN FONTCONFIG IS UPDATED. | |
9 | LOCAL CHANGES BELONG IN 'local.conf'. | |
10 | ||
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 submit any | |
15 | problems to the fontconfig bugzilla system located at fontconfig.org | |
16 | ||
17 | Note that the normal 'make install' procedure for fontconfig is to | |
18 | replace any existing fonts.conf file with the new version. Place | |
19 | any local customizations in local.conf which this file references. | |
20 | ||
21 | Keith Packard | |
22 | --> | |
23 | ||
24 | <!-- Font directory list --> | |
25 | ||
26 | <dir>@FC_DEFAULT_FONTS@</dir> | |
27 | @FC_FONTPATH@ | |
28 | <dir>~/.fonts</dir> | |
29 | ||
30 | <!-- Font cache directory list --> | |
31 | ||
32 | <cachedir>@FC_CACHEDIR@</cachedir> | |
33 | <cachedir>~/.fontconfig</cachedir> | |
34 | ||
35 | <!-- | |
36 | Accept deprecated 'mono' alias, replacing it with 'monospace' | |
37 | --> | |
38 | <match target="pattern"> | |
39 | <test qual="any" name="family"> | |
40 | <string>mono</string> | |
41 | </test> | |
42 | <edit name="family" mode="assign"> | |
43 | <string>monospace</string> | |
44 | </edit> | |
45 | </match> | |
46 | ||
47 | <!-- | |
48 | Accept alternate 'sans serif' spelling, replacing it with 'sans-serif' | |
49 | --> | |
50 | <match target="pattern"> | |
51 | <test qual="any" name="family"> | |
52 | <string>sans serif</string> | |
53 | </test> | |
54 | <edit name="family" mode="assign"> | |
55 | <string>sans-serif</string> | |
56 | </edit> | |
57 | </match> | |
58 | ||
59 | <!-- | |
60 | Accept deprecated 'sans' alias, replacing it with 'sans-serif' | |
61 | --> | |
62 | <match target="pattern"> | |
63 | <test qual="any" name="family"> | |
64 | <string>sans</string> | |
65 | </test> | |
66 | <edit name="family" mode="assign"> | |
67 | <string>sans-serif</string> | |
68 | </edit> | |
69 | </match> | |
70 | ||
71 | <!-- | |
72 | Mark common families with their generics so we'll get | |
73 | something reasonable | |
74 | --> | |
75 | ||
76 | <!-- | |
77 | Serif faces | |
78 | --> | |
79 | <alias> | |
80 | <family>Bitstream Vera Serif</family> | |
81 | <family>DejaVu Serif</family> | |
82 | <family>Times New Roman</family> | |
83 | <family>Thorndale AMT</family> | |
84 | <family>Times</family> | |
85 | <family>Nimbus Roman No9 L</family> | |
86 | <family>Luxi Serif</family> | |
87 | <family>Kochi Mincho</family> | |
88 | <family>AR PL SungtiL GB</family> | |
89 | <family>AR PL Mingti2L Big5</family> | |
90 | <family>MS 明朝</family> | |
91 | <family>Baekmuk Batang</family> | |
92 | <family>FreeSerif</family> | |
93 | <family>MgOpen Canonica</family> | |
94 | <default><family>serif</family></default> | |
95 | </alias> | |
96 | <!-- | |
97 | Sans-serif faces | |
98 | --> | |
99 | <alias> | |
100 | <family>Bitstream Vera Sans</family> | |
101 | <family>DejaVu Sans</family> | |
102 | <family>Helvetica</family> | |
103 | <family>Arial</family> | |
104 | <family>Verdana</family> | |
105 | <family>Albany AMT</family> | |
106 | <family>Nimbus Sans L</family> | |
107 | <family>Luxi Sans</family> | |
108 | <family>Kochi Gothic</family> | |
109 | <family>AR PL KaitiM GB</family> | |
110 | <family>AR PL KaitiM Big5</family> | |
111 | <family>MS ゴシック</family> | |
112 | <family>Baekmuk Dotum</family> | |
113 | <family>SimSun</family> | |
114 | <family>FreeSans</family> | |
115 | <family>MgOpen Modata</family> | |
116 | <default><family>sans-serif</family></default> | |
117 | </alias> | |
118 | <!-- | |
119 | Monospace faces | |
120 | --> | |
121 | <alias> | |
122 | <family>Bitstream Vera Sans Mono</family> | |
123 | <family>DejaVu Sans Mono</family> | |
124 | <family>Courier</family> | |
125 | <family>Courier New</family> | |
126 | <family>Andale Mono</family> | |
127 | <family>Luxi Mono</family> | |
128 | <family>Cumberland AMT</family> | |
129 | <family>Nimbus Mono L</family> | |
130 | <family>NSimSun</family> | |
131 | <family>FreeMono</family> | |
132 | <default><family>monospace</family></default> | |
133 | </alias> | |
134 | <!-- | |
135 | If the font still has no generic name, add sans-serif | |
136 | --> | |
137 | <match target="pattern"> | |
138 | <test qual="all" name="family" compare="not_eq"> | |
139 | <string>sans-serif</string> | |
140 | </test> | |
141 | <test qual="all" name="family" compare="not_eq"> | |
142 | <string>serif</string> | |
143 | </test> | |
144 | <test qual="all" name="family" compare="not_eq"> | |
145 | <string>monospace</string> | |
146 | </test> | |
147 | <edit name="family" mode="append_last"> | |
148 | <string>sans-serif</string> | |
149 | </edit> | |
150 | </match> | |
151 | ||
152 | <!-- | |
153 | Load local system customization file | |
154 | --> | |
155 | <include ignore_missing="yes">conf.d</include> | |
156 | ||
157 | <!-- | |
158 | Provide required aliases for standard names | |
159 | --> | |
160 | <alias> | |
161 | <family>serif</family> | |
162 | <prefer> | |
163 | <family>Bitstream Vera Serif</family> | |
164 | <family>DejaVu Serif</family> | |
165 | <family>Times New Roman</family> | |
166 | <family>Thorndale AMT</family> | |
167 | <family>Luxi Serif</family> | |
168 | <family>Nimbus Roman No9 L</family> | |
169 | <family>Times</family> | |
170 | <family>Frank Ruehl</family> | |
171 | <family>MgOpen Canonica</family> | |
172 | <family>Kochi Mincho</family> | |
173 | <family>AR PL SungtiL GB</family> | |
174 | <family>AR PL Mingti2L Big5</family> | |
175 | <family>MS 明朝</family> | |
176 | <family>Baekmuk Batang</family> | |
177 | <family>FreeSerif</family> | |
178 | </prefer> | |
179 | </alias> | |
180 | <alias> | |
181 | <family>sans-serif</family> | |
182 | <prefer> | |
183 | <family>Bitstream Vera Sans</family> | |
184 | <family>DejaVu Sans</family> | |
185 | <family>Verdana</family> | |
186 | <family>Arial</family> | |
187 | <family>Albany AMT</family> | |
188 | <family>Luxi Sans</family> | |
189 | <family>Nimbus Sans L</family> | |
190 | <family>Helvetica</family> | |
191 | <family>Nachlieli</family> | |
192 | <family>MgOpen Modata</family> | |
193 | <family>Kochi Gothic</family> | |
194 | <family>AR PL KaitiM GB</family> | |
195 | <family>AR PL KaitiM Big5</family> | |
196 | <family>MS ゴシック</family> | |
197 | <family>Baekmuk Dotum</family> | |
198 | <family>SimSun</family> | |
199 | <family>FreeSans</family> | |
200 | </prefer> | |
201 | </alias> | |
202 | <alias> | |
203 | <family>monospace</family> | |
204 | <prefer> | |
205 | <family>Bitstream Vera Sans Mono</family> | |
206 | <family>DejaVu Sans Mono</family> | |
207 | <family>Andale Mono</family> | |
208 | <family>Courier New</family> | |
209 | <family>Cumberland AMT</family> | |
210 | <family>Luxi Mono</family> | |
211 | <family>Nimbus Mono L</family> | |
212 | <family>Courier</family> | |
213 | <family>Miriam Mono</family> | |
214 | <family>Kochi Gothic</family> | |
215 | <family>AR PL KaitiM GB</family> | |
216 | <family>Baekmuk Dotum</family> | |
217 | <family>FreeMono</family> | |
218 | </prefer> | |
219 | </alias> | |
220 | ||
221 | <!-- | |
222 | Artificial oblique for fonts without an italic or oblique version | |
223 | --> | |
224 | ||
225 | <match target="font"> | |
226 | <!-- check to see if the font is roman --> | |
227 | <test name="slant"> | |
228 | <const>roman</const> | |
229 | </test> | |
230 | <!-- check to see if the pattern requested non-roman --> | |
231 | <test target="pattern" name="slant" compare="not_eq"> | |
232 | <const>roman</const> | |
233 | </test> | |
234 | <!-- multiply the matrix to slant the font --> | |
235 | <edit name="matrix" mode="assign"> | |
236 | <times> | |
237 | <name>matrix</name> | |
238 | <matrix><double>1</double><double>0.2</double> | |
239 | <double>0</double><double>1</double> | |
240 | </matrix> | |
241 | </times> | |
242 | </edit> | |
243 | <!-- pretend the font is oblique now --> | |
244 | <edit name="slant" mode="assign"> | |
245 | <const>oblique</const> | |
246 | </edit> | |
247 | <!-- and disable embedded bitmaps for artificial oblique --> | |
248 | <edit name="embeddedbitmap" mode="assign"> | |
249 | <bool>false</bool> | |
250 | </edit> | |
251 | </match> | |
252 | ||
253 | <!-- | |
254 | Synthetic emboldening for fonts that do not have bold face available | |
255 | --> | |
256 | ||
257 | <match target="font"> | |
258 | <!-- check to see if the font is just regular --> | |
259 | <test name="weight" compare="less_eq"> | |
260 | <const>medium</const> | |
261 | </test> | |
262 | <!-- check to see if the pattern requests bold --> | |
263 | <test target="pattern" name="weight" compare="more"> | |
264 | <const>medium</const> | |
265 | </test> | |
266 | <!-- | |
267 | set the embolden flag | |
268 | needed for applications using cairo, e.g. gucharmap, gedit, ... | |
269 | --> | |
270 | <edit name="embolden" mode="assign"> | |
271 | <bool>true</bool> | |
272 | </edit> | |
273 | <!-- | |
274 | set weight to bold | |
275 | needed for applications using Xft directly, e.g. Firefox, ... | |
276 | --> | |
277 | <edit name="weight" mode="assign"> | |
278 | <const>bold</const> | |
279 | </edit> | |
280 | </match> | |
281 | ||
282 | ||
283 | <config> | |
284 | <!-- | |
285 | These are the default Unicode chars that are expected to be blank | |
286 | in fonts. All other blank chars are assumed to be broken and | |
287 | won't appear in the resulting charsets | |
288 | --> | |
289 | <blank> | |
290 | <int>0x0020</int> <!-- SPACE --> | |
291 | <int>0x00A0</int> <!-- NO-BREAK SPACE --> | |
292 | <int>0x00AD</int> <!-- SOFT HYPHEN --> | |
293 | <int>0x034F</int> <!-- COMBINING GRAPHEME JOINER --> | |
294 | <int>0x0600</int> <!-- ARABIC NUMBER SIGN --> | |
295 | <int>0x0601</int> <!-- ARABIC SIGN SANAH --> | |
296 | <int>0x0602</int> <!-- ARABIC FOOTNOTE MARKER --> | |
297 | <int>0x0603</int> <!-- ARABIC SIGN SAFHA --> | |
298 | <int>0x06DD</int> <!-- ARABIC END OF AYAH --> | |
299 | <int>0x070F</int> <!-- SYRIAC ABBREVIATION MARK --> | |
300 | <int>0x115F</int> <!-- HANGUL CHOSEONG FILLER --> | |
301 | <int>0x1160</int> <!-- HANGUL JUNGSEONG FILLER --> | |
302 | <int>0x1680</int> <!-- OGHAM SPACE MARK --> | |
303 | <int>0x17B4</int> <!-- KHMER VOWEL INHERENT AQ --> | |
304 | <int>0x17B5</int> <!-- KHMER VOWEL INHERENT AA --> | |
305 | <int>0x180E</int> <!-- MONGOLIAN VOWEL SEPARATOR --> | |
306 | <int>0x2000</int> <!-- EN QUAD --> | |
307 | <int>0x2001</int> <!-- EM QUAD --> | |
308 | <int>0x2002</int> <!-- EN SPACE --> | |
309 | <int>0x2003</int> <!-- EM SPACE --> | |
310 | <int>0x2004</int> <!-- THREE-PER-EM SPACE --> | |
311 | <int>0x2005</int> <!-- FOUR-PER-EM SPACE --> | |
312 | <int>0x2006</int> <!-- SIX-PER-EM SPACE --> | |
313 | <int>0x2007</int> <!-- FIGURE SPACE --> | |
314 | <int>0x2008</int> <!-- PUNCTUATION SPACE --> | |
315 | <int>0x2009</int> <!-- THIN SPACE --> | |
316 | <int>0x200A</int> <!-- HAIR SPACE --> | |
317 | <int>0x200B</int> <!-- ZERO WIDTH SPACE --> | |
318 | <int>0x200C</int> <!-- ZERO WIDTH NON-JOINER --> | |
319 | <int>0x200D</int> <!-- ZERO WIDTH JOINER --> | |
320 | <int>0x200E</int> <!-- LEFT-TO-RIGHT MARK --> | |
321 | <int>0x200F</int> <!-- RIGHT-TO-LEFT MARK --> | |
322 | <int>0x2028</int> <!-- LINE SEPARATOR --> | |
323 | <int>0x2029</int> <!-- PARAGRAPH SEPARATOR --> | |
324 | <int>0x202A</int> <!-- LEFT-TO-RIGHT EMBEDDING --> | |
325 | <int>0x202B</int> <!-- RIGHT-TO-LEFT EMBEDDING --> | |
326 | <int>0x202C</int> <!-- POP DIRECTIONAL FORMATTING --> | |
327 | <int>0x202D</int> <!-- LEFT-TO-RIGHT OVERRIDE --> | |
328 | <int>0x202E</int> <!-- RIGHT-TO-LEFT OVERRIDE --> | |
329 | <int>0x202F</int> <!-- NARROW NO-BREAK SPACE --> | |
330 | <int>0x205F</int> <!-- MEDIUM MATHEMATICAL SPACE --> | |
331 | <int>0x2060</int> <!-- WORD JOINER --> | |
332 | <int>0x2061</int> <!-- FUNCTION APPLICATION --> | |
333 | <int>0x2062</int> <!-- INVISIBLE TIMES --> | |
334 | <int>0x2063</int> <!-- INVISIBLE SEPARATOR --> | |
335 | <int>0x206A</int> <!-- INHIBIT SYMMETRIC SWAPPING --> | |
336 | <int>0x206B</int> <!-- ACTIVATE SYMMETRIC SWAPPING --> | |
337 | <int>0x206C</int> <!-- INHIBIT ARABIC FORM SHAPING --> | |
338 | <int>0x206D</int> <!-- ACTIVATE ARABIC FORM SHAPING --> | |
339 | <int>0x206E</int> <!-- NATIONAL DIGIT SHAPES --> | |
340 | <int>0x206F</int> <!-- NOMINAL DIGIT SHAPES --> | |
341 | <int>0x3000</int> <!-- IDEOGRAPHIC SPACE --> | |
342 | <int>0x3164</int> <!-- HANGUL FILLER --> | |
343 | <int>0xFEFF</int> <!-- ZERO WIDTH NO-BREAK SPACE --> | |
344 | <int>0xFFA0</int> <!-- HALFWIDTH HANGUL FILLER --> | |
345 | <int>0xFFF9</int> <!-- INTERLINEAR ANNOTATION ANCHOR --> | |
346 | <int>0xFFFA</int> <!-- INTERLINEAR ANNOTATION SEPARATOR --> | |
347 | <int>0xFFFB</int> <!-- INTERLINEAR ANNOTATION TERMINATOR --> | |
348 | </blank> | |
349 | <!-- | |
350 | Rescan configuration every 30 seconds when FcFontSetList is called | |
351 | --> | |
352 | <rescan> | |
353 | <int>30</int> | |
354 | </rescan> | |
355 | </config> | |
356 | ||
357 | </fontconfig> |