[Fontconfig] Remap italic to small-caps

Tobias Wolf towolf at gmail.com
Fri Jan 15 09:59:00 PST 2010


On Fri, Jan 15, 2010 at 5:50 PM, Keith Packard <keithp at keithp.com> wrote:
> On Fri, 15 Jan 2010 17:30:48 +0100, Tobias Wolf <towolf at gmail.com> wrote:
>
>> <match target=3D"font">
>
> This executes after the matching process, and so by this point the
> target files have been selected.

I started with pattern and then permuted all kinds of things until
something changed. Obviously I have a fragile grasp of what all this
means.

>> What does work is <edit name=3D"file" mode=3D"assign">. But that can=E2=
=80=99t be
>> right? Am I misunderstanding the examples in /etc/fonts w.r.t.
>> re-assigning a family?
>
> There isn't any provision for looping back through the matching process
> to switch files. Fontconfig isn't quite Turing-complete yet.

Are you saying what I want can=E2=80=99t be done, or that I used the wrong
approach? Please clarify.

--Tobias


More information about the Fontconfig mailing list