Re: Trouble forcing rescanning of font dirs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Mike FABIAN wrote:
> I also think this is a bug, see 
> 
> https://bugzilla.novell.com/show_bug.cgi?id=438855#c23
> 
> Comment #24 of this bug has a patch which I attach here as well
> for convenience.
> 
> The line
> 
>  if (dir_stat.st_mtime <= file_stat.st_mtime) {
> 
> was removed recently from fccache.c, I think this was probably removed
> by accident and was a mistake.

I doubt you really mean "recently".  Anyway, that was not a mistake.  That
line will cause lots of problems with clock skews and changes (which are not
uncommon at new installations).  Instead, the cache stores the dir timestamp,
and the two are compared for equality.

I think the approach Diego proposes may be real the fix.  However, I'm puzzled
as live font installation and uninstallation both work for me correctly.  I'll
check it out again.

Diego, which fontconfig version are you using?

Makes me wonder, what patches do you carry around in Novell that should be
upstream?  Please file them in bugzilla and I'll take a look.  We're getting
2.7 out really soon.

behdad
_______________________________________________
Fontconfig mailing list
Fontconfig@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/fontconfig

[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux