[Fontconfig] match all bold fonts?

Keith Packard keithp at keithp.com
Tue Mar 4 15:25:22 EST 2003

Around 19 o'clock on Mar 3, Grigori Goronzy wrote:

> So, what are the right values for thin/normal/bold fonts? I also tried
> using a string and "bold" as the value, no luck either. 

You can use the const elements:


I'd do your test as:

	<match target="font">
		<test name="weight" compare="more"><const>medium</const></test>
		<edit name="antialias"><bool>true</bool></edit>

Use the font target for all changes to how a particular font is rendered 
and pattern target for changes in how a font is selected from those 


Keith Packard        Cambridge Research Lab	Hewlett Packard

More information about the Fontconfig mailing list