Blob Blame History Raw
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "../fonts.dtd">
<fontconfig>
	<!-- Generic names -->
	<alias>
		<family>IPAPMincho</family>
		<default>
			<family>serif</family>
		</default>
	</alias>

	<!-- Locale-specific overrides -->
	<match>
		<test name="lang" compare="contains">
			<string>ja</string>
		</test>
		<test name="family">
			<string>serif</string>
		</test>
		<edit name="family" mode="prepend">
			<string>IPAPMincho</string>
		</edit>
	</match>

	<!-- enable autohinting -->
	<match target="font">
		<test name="family">
			<string>IPAPMincho</string>
		</test>
		<edit name="hinting" mode="assign">
			<bool>false</bool>
		</edit>
		<edit name="autohint" mode="assign">
			<bool>true</bool>
		</edit>
	</match>
</fontconfig>