Re: Remap italic to small-caps

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

 



On Tue, Jan 19, 2010 at 12:05 AM, Behdad Esfahbod <behdad@xxxxxxxxxx> wrote:
> On 01/15/2010 11:30 AM, Tobias Wolf wrote:
> > 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.

Ah. Aua. That’s it. Thank you, Behdad! ... Scales from my eyes ... I
had left in an excess test stanza that conflicted with what I wanted
to test.

--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