fonts.conf.in revision a32e9e42
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 <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0"> 6 <its:translateRule translate="no" selector="/fontconfig/*[not(self::description)]"/> 7 </its:rules> 8 9 <description>Default configuration file</description> 10 11<!-- 12 DO NOT EDIT THIS FILE. 13 IT WILL BE REPLACED WHEN FONTCONFIG IS UPDATED. 14 LOCAL CHANGES BELONG IN 'local.conf'. 15 16 The intent of this standard configuration file is to be adequate for 17 most environments. If you have a reasonably normal environment and 18 have found problems with this configuration, they are probably 19 things that others will also want fixed. Please submit any 20 problems to the fontconfig bugzilla system located at fontconfig.org 21 22 Note that the normal 'make install' procedure for fontconfig is to 23 replace any existing fonts.conf file with the new version. Place 24 any local customizations in local.conf which this file references. 25 26 Keith Packard 27--> 28 29<!-- Font directory list --> 30 31 <dir>@FC_DEFAULT_FONTS@</dir> 32 @FC_FONTPATH@ 33 <dir prefix="xdg">fonts</dir> 34 <!-- the following element will be removed in the future --> 35 <dir>~/.fonts</dir> 36 37<!-- 38 Accept deprecated 'mono' alias, replacing it with 'monospace' 39--> 40 <match target="pattern"> 41 <test qual="any" name="family"> 42 <string>mono</string> 43 </test> 44 <edit name="family" mode="assign" binding="same"> 45 <string>monospace</string> 46 </edit> 47 </match> 48 49<!-- 50 Accept alternate 'sans serif' spelling, replacing it with 'sans-serif' 51--> 52 <match target="pattern"> 53 <test qual="any" name="family"> 54 <string>sans serif</string> 55 </test> 56 <edit name="family" mode="assign" binding="same"> 57 <string>sans-serif</string> 58 </edit> 59 </match> 60 61<!-- 62 Accept deprecated 'sans' alias, replacing it with 'sans-serif' 63--> 64 <match target="pattern"> 65 <test qual="any" name="family"> 66 <string>sans</string> 67 </test> 68 <edit name="family" mode="assign" binding="same"> 69 <string>sans-serif</string> 70 </edit> 71 </match> 72 73<!-- 74 Load local system customization file 75--> 76 <include ignore_missing="yes">@CONFIGDIR@</include> 77 78<!-- Font cache directory list --> 79 80 <cachedir>@FC_CACHEDIR@</cachedir> 81 <cachedir prefix="xdg">fontconfig</cachedir> 82 <!-- the following element will be removed in the future --> 83 <cachedir>~/.fontconfig</cachedir> 84 85 <config> 86<!-- 87 Rescan configuration every 30 seconds when FcFontSetList is called 88 --> 89 <rescan> 90 <int>30</int> 91 </rescan> 92 </config> 93 94</fontconfig> 95