[Fontconfig] Missing font issue due to broken caches
Akira TAGOH
akira at tagoh.org
Tue Jul 28 19:31:05 PDT 2015
Hi,
I need some comments about making a change in FcCache to work around the
kinda race condition in updating caches. please read comments in
https://bugs.freedesktop.org/show_bug.cgi?id=69845 for more details of the
background.
As attached at https://bugs.freedesktop.org/attachment.cgi?id=116870 I'm
proposing the change to store the number of files in a directory to FcCache
so that fontconfig can detect this fault; AFAICS the number of font files
being reported from the cache and the actual one is different and it is
same or newer than the mtime of directory so fontconfig doesn't update then.
The change itself is quite simple and no extra cost to store it. even if it
is going to update the cache by this change, it is supposed to be updated
per se. the concern is, it may be likely to happen during running
applications.
Any other concerns or comment on this change?
--
Akira TAGOH
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/fontconfig/attachments/20150729/810ba230/attachment.html>
More information about the Fontconfig
mailing list