Bug 9344 - Bug in updating fontcache
: Bug in updating fontcache
Status: RESOLVED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Display
: 7.2
: PC Windows XP
: -- normal (vote)
: ---
Assigned To: Unassigned bug - please assign me!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-08-30 08:28 UTC by Greg Brown
Modified: 2008-08-30 12:29 UTC (History)
0 users

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Greg Brown 2008-08-30 08:28:11 UTC
I'm having an issue with people updating SuperDateTime to 7.2 not having their fontcache updated to reflect font changes that have been made.

Per Triode he advised me:
Touch your font file so that it is newer than the server font files. This
should cause the cache to be ignored when the server is restarted.

The cache currently looks for the newest font file and compares its mtime
with that of the cache. So if you update your file but it is still older
than one of the other font files then the update gets ignored.

Should be fixed (thought I'd done so already, but it turns out I've only
fixed the plugin cache not the font cache).
------
Triode advised me to file a bug so that the following can be implemented in 7.2.1:
Store the sum of mtimes for all font files in the cache and use this to
validate it when it is loaded. Thats what the plugin cache now does which
works well - we already read all the mtimes, so it no more work, just means
bumping the cache version to store another field in it.
Comment 1 Adrian Smith 2008-08-30 12:29:52 UTC
fixed in change 22980.