From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark H Weaver Subject: bug#18640: [wishlist] fontconfig's cache is not refreshed automatically Date: Sun, 05 Oct 2014 17:53:16 -0400 Message-ID: <87sij2dvzn.fsf@netris.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39157) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xatkq-0007Fe-Kv for bug-guix@gnu.org; Sun, 05 Oct 2014 17:54:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xatkg-0003Mq-R0 for bug-guix@gnu.org; Sun, 05 Oct 2014 17:54:12 -0400 Received: from debbugs.gnu.org ([140.186.70.43]:43426) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xatkg-0003Ml-OA for bug-guix@gnu.org; Sun, 05 Oct 2014 17:54:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Xatkg-0000ng-A7 for bug-guix@gnu.org; Sun, 05 Oct 2014 17:54:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39024) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xatk8-0007DG-E7 for bug-guix@gnu.org; Sun, 05 Oct 2014 17:53:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xatk0-000313-Uk for bug-guix@gnu.org; Sun, 05 Oct 2014 17:53:28 -0400 Received: from world.peace.net ([96.39.62.75]:55470) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xatk0-00030p-R5 for bug-guix@gnu.org; Sun, 05 Oct 2014 17:53:20 -0400 List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: 18640@debbugs.gnu.org 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