Re: Remap italic to small-caps

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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">
		<string>TT2010</string>
	</test>
	<test name="slant" compare="not_eq">
		<const>roman</const>
	</test>
	<edit name="family" mode="assign">
		<string>TT2010 SC</string>
	</edit>
	<edit name="slant" mode="assign">
		<const>roman</const>
	</edit>
</match>

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

behdad


> --Tobias
_______________________________________________
Fontconfig mailing list
Fontconfig@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/fontconfig


[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux