12c393a42Smrg<?xml version="1.0"?>
2a4e54154Smrg<!DOCTYPE fontconfig SYSTEM "urn:fontconfig:fonts.dtd">
32c393a42Smrg<!-- /etc/fonts/fonts.conf file to configure system font access -->
42c393a42Smrg<fontconfig>
5a32e9e42Smrg	<description>Default configuration file</description>
62c393a42Smrg
72c393a42Smrg<!--
82c393a42Smrg	DO NOT EDIT THIS FILE.
92c393a42Smrg	IT WILL BE REPLACED WHEN FONTCONFIG IS UPDATED.
102c393a42Smrg	LOCAL CHANGES BELONG IN 'local.conf'.
112c393a42Smrg
122c393a42Smrg	The intent of this standard configuration file is to be adequate for
132c393a42Smrg	most environments.  If you have a reasonably normal environment and
142c393a42Smrg	have found problems with this configuration, they are probably
15a4e54154Smrg	things that others will also want fixed.  Please submit any problems
16a4e54154Smrg	to the fontconfig issue tracking system located at fontconfig.org
172c393a42Smrg
182c393a42Smrg	Note that the normal 'make install' procedure for fontconfig is to
192c393a42Smrg	replace any existing fonts.conf file with the new version.  Place
202c393a42Smrg	any local customizations in local.conf which this file references.
212c393a42Smrg
222c393a42Smrg	Keith Packard
232c393a42Smrg-->
242c393a42Smrg
252c393a42Smrg<!-- Font directory list -->
262c393a42Smrg
27a4e54154Smrg@FC_DEFAULT_FONTS@
282c393a42Smrg	@FC_FONTPATH@
29ca08ab68Smrg	<dir prefix="xdg">fonts</dir>
30ca08ab68Smrg	<!-- the following element will be removed in the future -->
312c393a42Smrg	<dir>~/.fonts</dir>
322c393a42Smrg
332c393a42Smrg<!--
342c393a42Smrg  Accept deprecated 'mono' alias, replacing it with 'monospace'
352c393a42Smrg-->
362c393a42Smrg	<match target="pattern">
372c393a42Smrg		<test qual="any" name="family">
382c393a42Smrg			<string>mono</string>
392c393a42Smrg		</test>
40ca08ab68Smrg		<edit name="family" mode="assign" binding="same">
412c393a42Smrg			<string>monospace</string>
422c393a42Smrg		</edit>
432c393a42Smrg	</match>
442c393a42Smrg
452c393a42Smrg<!--
462c393a42Smrg  Accept alternate 'sans serif' spelling, replacing it with 'sans-serif'
472c393a42Smrg-->
482c393a42Smrg	<match target="pattern">
492c393a42Smrg		<test qual="any" name="family">
502c393a42Smrg			<string>sans serif</string>
512c393a42Smrg		</test>
52ca08ab68Smrg		<edit name="family" mode="assign" binding="same">
532c393a42Smrg			<string>sans-serif</string>
542c393a42Smrg		</edit>
552c393a42Smrg	</match>
562c393a42Smrg
572c393a42Smrg<!--
582c393a42Smrg  Accept deprecated 'sans' alias, replacing it with 'sans-serif'
592c393a42Smrg-->
602c393a42Smrg	<match target="pattern">
612c393a42Smrg		<test qual="any" name="family">
622c393a42Smrg			<string>sans</string>
632c393a42Smrg		</test>
64ca08ab68Smrg		<edit name="family" mode="assign" binding="same">
652c393a42Smrg			<string>sans-serif</string>
662c393a42Smrg		</edit>
672c393a42Smrg	</match>
68a4e54154Smrg<!--
69a4e54154Smrg  Accept alternate 'system ui' spelling, replacing it with 'system-ui'
70a4e54154Smrg-->
71a4e54154Smrg	<match target="pattern">
72a4e54154Smrg		<test qual="any" name="family">
73a4e54154Smrg			<string>system ui</string>
74a4e54154Smrg		</test>
75a4e54154Smrg		<edit name="family" mode="assign" binding="same">
76a4e54154Smrg			<string>system-ui</string>
77a4e54154Smrg		</edit>
78a4e54154Smrg	</match>
792c393a42Smrg
802c393a42Smrg<!--
812c393a42Smrg  Load local system customization file
822c393a42Smrg-->
83ca08ab68Smrg	<include ignore_missing="yes">@CONFIGDIR@</include>
842c393a42Smrg
852c393a42Smrg<!-- Font cache directory list -->
862c393a42Smrg
872c393a42Smrg	<cachedir>@FC_CACHEDIR@</cachedir>
88ca08ab68Smrg	<cachedir prefix="xdg">fontconfig</cachedir>
89ca08ab68Smrg	<!-- the following element will be removed in the future -->
902c393a42Smrg	<cachedir>~/.fontconfig</cachedir>
912c393a42Smrg
922c393a42Smrg	<config>
932c393a42Smrg<!--
942c393a42Smrg  Rescan configuration every 30 seconds when FcFontSetList is called
952c393a42Smrg -->
962c393a42Smrg		<rescan>
972c393a42Smrg			<int>30</int>
982c393a42Smrg		</rescan>
992c393a42Smrg	</config>
1002c393a42Smrg
1012c393a42Smrg</fontconfig>
102