[Fontconfig] dir tags

Patrick Lam plam at MIT.EDU
Mon Nov 28 22:28:09 PST 2005


Patrick Lam wrote:
> Jonas Melian wrote:
> 
>>I think that dir tags are creating problems in fonts.conf:
>>
>>http://bugs.gentoo.org/show_bug.cgi?id=102116
>>
>>It should be in local.conf

> <rejectfont>
>   <glob>
>     /usr/X11R6/lib/X11/fonts
>   </glob>
> </rejectfont>

Ok, so it took me longer than a morning, but I was sort of distracted 
today.  The correct syntax has no newlines:

<rejectfont>
   <glob>/usr/X11R6/lib/X11/fonts</glob>
</rejectfont>

This works in the 2.4 branch.  It was broken in 2.3.2.

Keith says that we can't remove the bitmapped fonts yet, as some users 
still need them, and we certainly can't put all fonts in local.conf. 
However, since you can reject fonts in local.conf, this should meet your 
needs.

pat



More information about the Fontconfig mailing list