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