[Fontconfig] Remap italic to small-caps

Behdad Esfahbod behdad at behdad.org
Mon Jan 18 15:05:38 PST 2010

On 01/15/2010 11:30 AM, Tobias Wolf wrote:

> What does work is <edit name="file" mode="assign">. But that can’t be
> right?

Well, that's the closest you can get right now.

> Am I misunderstanding the examples in /etc/fonts w.r.t. re-assigning a family?

Which ones?  What you can do is:

<match target="pattern">
	<test name="family">
	<test name="slant" compare="not_eq">
	<edit name="family" mode="assign">
		<string>TT2010 SC</string>
	<edit name="slant" mode="assign">

This should work if you ask for "TT2010" only.


> --Tobias

More information about the Fontconfig mailing list