* bug#18640: [wishlist] fontconfig's cache is not refreshed automatically
@ 2014-10-05 21:53 Mark H Weaver
2023-08-11 9:58 ` bug#18640: " 宋文武 via Bug reports for GNU Guix
0 siblings, 1 reply; 2+ messages in thread
From: Mark H Weaver @ 2014-10-05 21:53 UTC (permalink / raw)
To: 18640
When a user runs emacs (or any other program that uses fontconfig), a
cache is created in ~/.cache/fontconfig. This cache is not updated
automatically after installing new fonts, and must be manually cleared
out.
I guess this might be related to our use of Jan 1, 1970 as the
timestamps for all files in /gnu/store (which includes user profiles).
We should either modify fontconfig to detect a stale cache using a
method that works on Guix, or else notify the user that they must clear
the cache after installing ttf fonts.
Mark
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#18640: fontconfig's cache is not refreshed automatically
2014-10-05 21:53 bug#18640: [wishlist] fontconfig's cache is not refreshed automatically Mark H Weaver
@ 2023-08-11 9:58 ` 宋文武 via Bug reports for GNU Guix
0 siblings, 0 replies; 2+ messages in thread
From: 宋文武 via Bug reports for GNU Guix @ 2023-08-11 9:58 UTC (permalink / raw)
To: 18640-done
Hello, I believe this issue had been fixed by:
commit 6f12880a76a6c91058718d15845f8b9d9b529a5a
Author: Sarah Morgensen <iskarian@mgsn.dev>
Date: Fri Jun 18 17:52:05 2021 -0700
gnu: fontconfig: Use (locally) deterministic caching
Make fontconfig use directory contents rather than modification time to
determine cache validity (by pretending that mtime is broken).
Closing.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-08-11 9:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-05 21:53 bug#18640: [wishlist] fontconfig's cache is not refreshed automatically Mark H Weaver
2023-08-11 9:58 ` bug#18640: " 宋文武 via Bug reports for GNU Guix
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).