<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
	<!-- Generic name aliasing -->
	<alias>
		<family>serif</family>
		<accept>
			<family>AR PL UMing CN</family>
			<family>AR PL UMing HK</family>
			<family>AR PL UMing TW</family>
		</accept>
	</alias>

	<alias>
		<family>monospace</family>
		<accept>
			<family>AR PL UMing CN</family>
			<family>AR PL UMing HK</family>
			<family>AR PL UMing TW</family>
		</accept>
	</alias>

	<!-- language specific settings -->
	<match target="pattern">
		<test qual="any" name="lang" compare="contains">
			<string>zh-cn</string>
		</test>
		<test qual="any" name="family">
			<string>serif</string>
		</test>
		<edit name="family" mode="append">
			<string>AR PL UMing CN</string>
		</edit>
	</match>

	<match target="pattern">
		<test qual="any" name="lang" compare="contains">
			<string>zh-sg</string>
		</test>
		<test qual="any" name="family">
			<string>serif</string>
		</test>
		<edit name="family" mode="append">
			<string>AR PL UMing CN</string>
		</edit>
	</match>

	<match target="pattern">
		<test qual="any" name="lang" compare="contains">
			<string>zh-hk</string>
		</test>
		<test qual="any" name="family">
			<string>serif</string>
		</test>
		<edit name="family" mode="append">
			<string>AR PL UMing HK</string>
		</edit>
	</match>

	<match target="pattern">
		<test qual="any" name="lang" compare="contains">
			<string>zh-mo</string>
		</test>
		<test qual="any" name="family">
			<string>serif</string>
		</test>
		<edit name="family" mode="append">
			<string>AR PL UMing HK</string>
		</edit>
	</match>

	<match target="pattern">
		<test name="lang" compare="contains">
			<string>zh-tw</string>
		</test>
		<test qual="any" name="family">
			<string>serif</string>
		</test>
		<edit name="family" mode="append">
			<string>AR PL UMing TW</string>
		</edit>
	</match>

</fontconfig>
