[Fontconfig] blacklisting doesn't work

Patrick Lam plam at MIT.EDU
Sat Oct 22 12:56:30 EST 2005


Keith Packard wrote:
> On Fri, 2005-10-21 at 21:27 -0400, Patrick Lam wrote:
> 
> 
>>I think that I can make fontconfig load all fonts to put them in the
>>global cache.  But maybe it's not such a disaster to have the *global*
>>cache be dependent on the config files; it might beat the alternative,
>>which is to load all fonts into memory and then filter through
>>FcConfigAcceptFont afterwards on each run.
> 
> Having the local cache depend on the config files would mean that we'd
> have to check timestamps on all of the config files to decide whether to
> rescan the system for new fonts. That seems bad, but the alternative of
> just gettin the wrong answer randomly seems *far* worse.

Don't we have to read all the config files anyway?

pat



More information about the Fontconfig mailing list