<fontconfig>

	<match target="font">
		<edit name="embeddedbitmap" mode="assign">
			<bool>false</bool>
		</edit>
		<edit name="hinting" mode="assign">
			<bool>true</bool>
		</edit>
		<edit name="hintstyle" mode="assign">
			<const>hintslight</const>
		</edit>
		<edit name="antialias" mode="assign">
			<bool>true</bool>
		</edit>
	</match>

	<match target="font">
		<test name="lang" compare="contains">
			<string>ja</string>
		</test>
		<test name="pixelsize" compare="less_eq">
			<double>18</double>
		</test>
		<edit name="hintstyle" mode="assign">
			<const>hintnone</const>
		</edit>
	</match>

	<match target="font">
		<test name="lang" compare="contains">
			<string>ja</string>
		</test>
		<test name="spacing" compare="eq">
			<const>dual</const>
		</test>
		<edit name="spacing">
			<const>proportional</const>
		</edit>
		<edit name="globaladvance" binding="strong">
			<bool>false</bool>
		</edit>
	</match>

	<match target="font">
		<test name="lang" compare="contains">
			<string>ja</string>
		</test>
		<test name="outline" compare="eq">
			<bool>false</bool>
		</test>
		<test name="spacing" compare="eq">
			<const>mono</const>
			<const>charcell</const>
		</test>
		<edit name="spacing">
			<const>proportional</const>
		</edit>
		<edit name="globaladvance" binding="strong">
			<bool>false</bool>
		</edit>
	</match>

</fontconfig>
