[Fontconfig] How to use different fonts for different characters?

Keith Packard fontconfig@fontconfig.org
Tue, 29 Apr 2003 22:20:31 -0700


Around 12 o'clock on Apr 30, Wang WenRui wrote:

	<match target="pattern">
		<test qual="any" name="family">
			<string>sans-serif</string>
		</test>
		<edit name="family" mode="append" binding="strong">
			<string>Bitstream Vera Sans</string>
		</edit>
	</match>

Very nicely done.  That should do precisely what you want -- prefer
Bitstream Vera Sans for any characters that it does support in place of any
other fonts that are weakly substituted and overriding any language
specification from the locale or document.

-keith