fonts.conf.in revision a32e9e42
12c393a42Smrg<?xml version="1.0"?>
22c393a42Smrg<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
32c393a42Smrg<!-- /etc/fonts/fonts.conf file to configure system font access -->
42c393a42Smrg<fontconfig>
5a32e9e42Smrg	<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0">
6a32e9e42Smrg		<its:translateRule translate="no" selector="/fontconfig/*[not(self::description)]"/>
7a32e9e42Smrg	</its:rules>
8a32e9e42Smrg
9a32e9e42Smrg	<description>Default configuration file</description>
102c393a42Smrg
112c393a42Smrg<!--
122c393a42Smrg	DO NOT EDIT THIS FILE.
132c393a42Smrg	IT WILL BE REPLACED WHEN FONTCONFIG IS UPDATED.
142c393a42Smrg	LOCAL CHANGES BELONG IN 'local.conf'.
152c393a42Smrg
162c393a42Smrg	The intent of this standard configuration file is to be adequate for
172c393a42Smrg	most environments.  If you have a reasonably normal environment and
182c393a42Smrg	have found problems with this configuration, they are probably
192c393a42Smrg	things that others will also want fixed.  Please submit any
202c393a42Smrg	problems to the fontconfig bugzilla system located at fontconfig.org
212c393a42Smrg
222c393a42Smrg	Note that the normal 'make install' procedure for fontconfig is to
232c393a42Smrg	replace any existing fonts.conf file with the new version.  Place
242c393a42Smrg	any local customizations in local.conf which this file references.
252c393a42Smrg
262c393a42Smrg	Keith Packard
272c393a42Smrg-->
282c393a42Smrg
292c393a42Smrg<!-- Font directory list -->
302c393a42Smrg
312c393a42Smrg	<dir>@FC_DEFAULT_FONTS@</dir>
322c393a42Smrg	@FC_FONTPATH@
33ca08ab68Smrg	<dir prefix="xdg">fonts</dir>
34ca08ab68Smrg	<!-- the following element will be removed in the future -->
352c393a42Smrg	<dir>~/.fonts</dir>
362c393a42Smrg
372c393a42Smrg<!--
382c393a42Smrg  Accept deprecated 'mono' alias, replacing it with 'monospace'
392c393a42Smrg-->
402c393a42Smrg	<match target="pattern">
412c393a42Smrg		<test qual="any" name="family">
422c393a42Smrg			<string>mono</string>
432c393a42Smrg		</test>
44ca08ab68Smrg		<edit name="family" mode="assign" binding="same">
452c393a42Smrg			<string>monospace</string>
462c393a42Smrg		</edit>
472c393a42Smrg	</match>
482c393a42Smrg
492c393a42Smrg<!--
502c393a42Smrg  Accept alternate 'sans serif' spelling, replacing it with 'sans-serif'
512c393a42Smrg-->
522c393a42Smrg	<match target="pattern">
532c393a42Smrg		<test qual="any" name="family">
542c393a42Smrg			<string>sans serif</string>
552c393a42Smrg		</test>
56ca08ab68Smrg		<edit name="family" mode="assign" binding="same">
572c393a42Smrg			<string>sans-serif</string>
582c393a42Smrg		</edit>
592c393a42Smrg	</match>
602c393a42Smrg
612c393a42Smrg<!--
622c393a42Smrg  Accept deprecated 'sans' alias, replacing it with 'sans-serif'
632c393a42Smrg-->
642c393a42Smrg	<match target="pattern">
652c393a42Smrg		<test qual="any" name="family">
662c393a42Smrg			<string>sans</string>
672c393a42Smrg		</test>
68ca08ab68Smrg		<edit name="family" mode="assign" binding="same">
692c393a42Smrg			<string>sans-serif</string>
702c393a42Smrg		</edit>
712c393a42Smrg	</match>
722c393a42Smrg
732c393a42Smrg<!--
742c393a42Smrg  Load local system customization file
752c393a42Smrg-->
76ca08ab68Smrg	<include ignore_missing="yes">@CONFIGDIR@</include>
772c393a42Smrg
782c393a42Smrg<!-- Font cache directory list -->
792c393a42Smrg
802c393a42Smrg	<cachedir>@FC_CACHEDIR@</cachedir>
81ca08ab68Smrg	<cachedir prefix="xdg">fontconfig</cachedir>
82ca08ab68Smrg	<!-- the following element will be removed in the future -->
832c393a42Smrg	<cachedir>~/.fontconfig</cachedir>
842c393a42Smrg
852c393a42Smrg	<config>
862c393a42Smrg<!--
872c393a42Smrg  Rescan configuration every 30 seconds when FcFontSetList is called
882c393a42Smrg -->
892c393a42Smrg		<rescan>
902c393a42Smrg			<int>30</int>
912c393a42Smrg		</rescan>
922c393a42Smrg	</config>
932c393a42Smrg
942c393a42Smrg</fontconfig>
95