[Fontconfig] Lazy caching

Nick Alcock nick.alcock at oracle.com
Sat Mar 12 20:23:32 UTC 2016


On 11 Mar 2016, Raimund Steger said:

> On Thu, 10 Mar 2016 15:24:48 -0800
> Behdad Esfahbod <behdad at behdad.org> wrote:
>
>> I've started to convince myself that fontconfig should NOT by default cache
>> the charset info of all fonts, and do so only lazily.  This will solve most
>> of the "caching is slow" issues...  Needless to say, that's better done in
>
> I have mixed feelings about this.
>
> First of all, the "traditional" way to use fontconfig (with a prebuilt
> cache that is aligned with the system font directory) is probably
> *not* the main source of concern IF the stat issue is fixed (the
> discussion in January). Conversely, I'm guessing if 2.12 ships with
> that regression this might be the main source of new complaints, like
> bug 94427. But this is really independent of any charset scanning.

The stat issue has been relevant since about 2012, so it's hardly a
*new* regression. :)

-- 
NULL && (void)


More information about the Fontconfig mailing list