[Fontconfig] Catching sans-serif fonts

ben.guillon ben.guillon at gmail.com
Sun Apr 1 13:16:32 PDT 2012

On Sun, 01 Apr 2012 20:02:17 +0200, Raimund Steger <rs at mytum.de> wrote:

> Hi,
> ben.guillon wrote:
>> This font is put in the sans-serif generic family group thanks to the
>> /etc/fonts/conf.avail/45-latin.conf:
> I believe this rule works the other way round (matches what's in  
> <family>, not in <default>).
> Other examples are in 60-latin.conf. If you insert Liberation Sans there  
> in the <prefer> list for the sans-serif alias, the position of  
> Liberation Sans in the sorted list should go up.
> But on my system, the pruning done by --sort (which apparently  
> corresponds to the 'trim' argument of FcFontSort(3)) weeds out  
> Liberation Sans; --all however should include it in any case.
> So, 'fc-match --all sans-serif|nl|grep Liberation\ Sans' should give you  
> lower line numbers when you adjust 60-latin.conf.

Thanks much for your replies, I begin to understand how things work.


More information about the Fontconfig mailing list