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

Keith Packard keithp at keithp.com
Wed Apr 30 15:20:31 EST 2003


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






More information about the Fontconfig mailing list