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