Behdad Esfahbod <behdad.esfahbod@xxxxxxxxx> writes: > Humm. I don't know when things changed, but as far as I understand, we > readdir() every time; the cache just caches the patterns for each > file. That's wrong -- fontconfig knows all of the directories in the hierarchy and should be able to just stat each of them; if none of the existing directories have changed, then no new fonts could have been added to the system. Stat'ing a few known directories should suffice to track whether the cache is up to date. And, it used to work this way, so something has been broken. -- -keith
Attachment:
signature.asc
Description: PGP signature
_______________________________________________ Fontconfig mailing list Fontconfig@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/fontconfig