[Fontconfig] Debugging fontconfig issue

Akira TAGOH akira at tagoh.org
Thu Dec 5 11:15:52 UTC 2019


On Thu, Dec 5, 2019 at 7:40 PM <adam.w at sasktel.net> wrote:
>
> Hello,
>
> I'm wondering if it's possible to see exactly which .conf file is responsible for applying a particular setting for a particular font.
>
> For example, I have the following file: ~/.config/fontconfig/fonts.conf where I can successfully apply hinting/aliasing/etc to a <match target="font"> block.
>
> However underneath it, I'm trying to apply a font specific setting for the Arial font. I'm trying to disable antialiasing for this font. I have the following:
>
> <match target="pattern">

This should be <match target="font">

> However the font is still being antialiased as I can see from running: fc-match Arial --verbose

Try to run it with FC_DEBUG=4. if you're running with fontconfig
2.12.92 or later, you'll see which config is getting involved with
certain rules.

Hope that helps
>
> Not sure if I'm just doing it wrong? Any help is appreciated,
>
> Thanks
> _______________________________________________
> Fontconfig mailing list
> Fontconfig at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/fontconfig


-- 
Akira TAGOH


More information about the Fontconfig mailing list