[Fontconfig] Re: severe performance regression when global fonts.cache-2 files are missing

Mike FABIAN mfabian at suse.de
Mon Oct 24 23:38:51 EST 2005

Patrick Lam <plam at MIT.EDU> さんは書きました:

> Mike FABIAN wrote:
>> Tested with a CVS snapshot of the fontconfig 2.4 branch from
>> yesterday.
>> I noticed that if the global fonts.cache-2 files are out of date,
>> applications using fontconfig take a long time to start.
>> I understand that this happens once because the user cache file
>> ~/.fonts.cache-2 has to be generated. But if this file has been
>> generated, subsequently called applications should start fast.
> CVS HEAD will now remove ~/.fonts.cache-2 if it was previously invalid.

Thank you, it seems to work.

When I write junk into ~/.fonts.cache-2 on purpose now, the file
seems to be recreated correctly.

Mike FABIAN   <mfabian at suse.de>   http://www.suse.de/~mfabian

More information about the Fontconfig mailing list