Home | History | Annotate | Line # | Download | only in etc
fonts.conf revision 1.6
      1 <?xml version="1.0"?>
      2 <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
      3 <!-- $NetBSD: fonts.conf,v 1.5 2011/02/12 04:49:19 jmcneill Exp $ -->
      4 <!-- /etc/fonts/fonts.conf file to configure system font access -->
      5 <fontconfig>
      6 
      7 <!--
      8 	DO NOT EDIT THIS FILE.
      9 	IT WILL BE REPLACED WHEN FONTCONFIG IS UPDATED.
     10 	LOCAL CHANGES BELONG IN 'local.conf'.
     11 
     12 	The intent of this standard configuration file is to be adequate for
     13 	most environments.  If you have a reasonably normal environment and
     14 	have found problems with this configuration, they are probably
     15 	things that others will also want fixed.  Please submit any
     16 	problems to the fontconfig bugzilla system located at fontconfig.org
     17 
     18 	Note that the normal 'make install' procedure for fontconfig is to
     19 	replace any existing fonts.conf file with the new version.  Place
     20 	any local customizations in local.conf which this file references.
     21 
     22 	Keith Packard
     23 -->
     24 
     25 <!-- Font directory list -->
     26 
     27 	<dir>/usr/X11R7/lib/X11/fonts</dir>
     28 	<dir>/usr/pkg/lib/X11/fonts</dir>
     29 	<dir prefix="xdg">fonts</dir>
     30 	<!-- the following element will be removed in the future -->
     31 	<dir>~/.fonts</dir>
     32 
     33 <!--
     34   Accept deprecated 'mono' alias, replacing it with 'monospace'
     35 -->
     36 	<match target="pattern">
     37 		<test qual="any" name="family">
     38 			<string>mono</string>
     39 		</test>
     40 		<edit name="family" mode="assign" binding="same">
     41 			<string>monospace</string>
     42 		</edit>
     43 	</match>
     44 
     45 <!--
     46   Accept alternate 'sans serif' spelling, replacing it with 'sans-serif'
     47 -->
     48 	<match target="pattern">
     49 		<test qual="any" name="family">
     50 			<string>sans serif</string>
     51 		</test>
     52 		<edit name="family" mode="assign" binding="same">
     53 			<string>sans-serif</string>
     54 		</edit>
     55 	</match>
     56 
     57 <!--
     58   Accept deprecated 'sans' alias, replacing it with 'sans-serif'
     59 -->
     60 	<match target="pattern">
     61 		<test qual="any" name="family">
     62 			<string>sans</string>
     63 		</test>
     64 		<edit name="family" mode="assign" binding="same">
     65 			<string>sans-serif</string>
     66 		</edit>
     67 	</match>
     68 
     69 <!--
     70   Load local system customization file
     71 -->
     72 	<include ignore_missing="yes">conf.d</include>
     73 
     74 <!-- Font cache directory list -->
     75 
     76 	<cachedir>/var/cache/fontconfig</cachedir>
     77 	<cachedir prefix="xdg">fontconfig</cachedir>
     78 	<!-- the following element will be removed in the future -->
     79 	<cachedir>~/.fontconfig</cachedir>
     80 
     81 	<config>
     82 <!--
     83   These are the default Unicode chars that are expected to be blank
     84   in fonts.  All other blank chars are assumed to be broken and
     85   won't appear in the resulting charsets
     86  -->
     87 		<blank>
     88 			<int>0x0020</int>	<!-- SPACE -->
     89 			<int>0x00A0</int>	<!-- NO-BREAK SPACE -->
     90 			<int>0x00AD</int>	<!-- SOFT HYPHEN -->
     91 			<int>0x034F</int>	<!-- COMBINING GRAPHEME JOINER -->
     92 			<int>0x0600</int>	<!-- ARABIC NUMBER SIGN -->
     93 			<int>0x0601</int>	<!-- ARABIC SIGN SANAH -->
     94 			<int>0x0602</int>	<!-- ARABIC FOOTNOTE MARKER -->
     95 			<int>0x0603</int>	<!-- ARABIC SIGN SAFHA -->
     96 			<int>0x06DD</int>	<!-- ARABIC END OF AYAH -->
     97 			<int>0x070F</int>	<!-- SYRIAC ABBREVIATION MARK -->
     98 			<int>0x115F</int>	<!-- HANGUL CHOSEONG FILLER -->
     99 			<int>0x1160</int>	<!-- HANGUL JUNGSEONG FILLER -->
    100 			<int>0x1680</int>	<!-- OGHAM SPACE MARK -->
    101 			<int>0x17B4</int>	<!-- KHMER VOWEL INHERENT AQ -->
    102 			<int>0x17B5</int>	<!-- KHMER VOWEL INHERENT AA -->
    103 			<int>0x180E</int>	<!-- MONGOLIAN VOWEL SEPARATOR -->
    104 			<int>0x2000</int>	<!-- EN QUAD -->
    105 			<int>0x2001</int>	<!-- EM QUAD -->
    106 			<int>0x2002</int>	<!-- EN SPACE -->
    107 			<int>0x2003</int>	<!-- EM SPACE -->
    108 			<int>0x2004</int>	<!-- THREE-PER-EM SPACE -->
    109 			<int>0x2005</int>	<!-- FOUR-PER-EM SPACE -->
    110 			<int>0x2006</int>	<!-- SIX-PER-EM SPACE -->
    111 			<int>0x2007</int>	<!-- FIGURE SPACE -->
    112 			<int>0x2008</int>	<!-- PUNCTUATION SPACE -->
    113 			<int>0x2009</int>	<!-- THIN SPACE -->
    114 			<int>0x200A</int>	<!-- HAIR SPACE -->
    115 			<int>0x200B</int>	<!-- ZERO WIDTH SPACE -->
    116 			<int>0x200C</int>	<!-- ZERO WIDTH NON-JOINER -->
    117 			<int>0x200D</int>	<!-- ZERO WIDTH JOINER -->
    118 			<int>0x200E</int>	<!-- LEFT-TO-RIGHT MARK -->
    119 			<int>0x200F</int>	<!-- RIGHT-TO-LEFT MARK -->
    120 			<int>0x2028</int>	<!-- LINE SEPARATOR -->
    121 			<int>0x2029</int>	<!-- PARAGRAPH SEPARATOR -->
    122 			<int>0x202A</int>	<!-- LEFT-TO-RIGHT EMBEDDING -->
    123 			<int>0x202B</int>	<!-- RIGHT-TO-LEFT EMBEDDING -->
    124 			<int>0x202C</int>	<!-- POP DIRECTIONAL FORMATTING -->
    125 			<int>0x202D</int>	<!-- LEFT-TO-RIGHT OVERRIDE -->
    126 			<int>0x202E</int>	<!-- RIGHT-TO-LEFT OVERRIDE -->
    127 			<int>0x202F</int>	<!-- NARROW NO-BREAK SPACE -->
    128 			<int>0x205F</int>	<!-- MEDIUM MATHEMATICAL SPACE -->
    129 			<int>0x2060</int>	<!-- WORD JOINER -->
    130 			<int>0x2061</int>	<!-- FUNCTION APPLICATION -->
    131 			<int>0x2062</int>	<!-- INVISIBLE TIMES -->
    132 			<int>0x2063</int>	<!-- INVISIBLE SEPARATOR -->
    133 			<int>0x206A</int>	<!-- INHIBIT SYMMETRIC SWAPPING -->
    134 			<int>0x206B</int>	<!-- ACTIVATE SYMMETRIC SWAPPING -->
    135 			<int>0x206C</int>	<!-- INHIBIT ARABIC FORM SHAPING -->
    136 			<int>0x206D</int>	<!-- ACTIVATE ARABIC FORM SHAPING -->
    137 			<int>0x206E</int>	<!-- NATIONAL DIGIT SHAPES -->
    138 			<int>0x206F</int>	<!-- NOMINAL DIGIT SHAPES -->
    139 			<int>0x2800</int>	<!-- BRAILLE PATTERN BLANK -->
    140 			<int>0x3000</int>	<!-- IDEOGRAPHIC SPACE -->
    141 			<int>0x3164</int>	<!-- HANGUL FILLER -->
    142 			<int>0xFEFF</int>	<!-- ZERO WIDTH NO-BREAK SPACE -->
    143 			<int>0xFFA0</int>	<!-- HALFWIDTH HANGUL FILLER -->
    144 			<int>0xFFF9</int>	<!-- INTERLINEAR ANNOTATION ANCHOR -->
    145 			<int>0xFFFA</int>	<!-- INTERLINEAR ANNOTATION SEPARATOR -->
    146 			<int>0xFFFB</int>	<!-- INTERLINEAR ANNOTATION TERMINATOR -->
    147 		</blank>
    148 <!--
    149   Rescan configuration every 30 seconds when FcFontSetList is called
    150  -->
    151 		<rescan>
    152 			<int>30</int>
    153 		</rescan>
    154 	</config>
    155 
    156 </fontconfig>
    157