GNU bug report logs - #27350
25.2; Make `inhibit-compacting-font-caches' customizable

Previous Next

Package: emacs;

Reported by: Drew Adams <drew.adams <at> oracle.com>

Date: Tue, 13 Jun 2017 14:35:02 UTC

Severity: wishlist

Tags: wontfix

Found in version 25.2

Done: Stefan Kangas <stefan <at> marxist.se>

Bug is archived. No further changes may be made.

Full log


Message #49 received at 27350 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: "Felix E. Klee" <felix.klee <at> inka.de>
Cc: 27350 <at> debbugs.gnu.org
Subject: Re: bug#27350: #27350 25.2;
 Make `inhibit-compacting-font-caches' customizable
Date: Fri, 16 Jun 2017 16:47:43 +0300
> From: "Felix E. Klee" <felix.klee <at> inka.de>
> Date: Fri, 16 Jun 2017 15:24:58 +0200
> Cc: 27350 <at> debbugs.gnu.org
> 
> On Fri, Jun 16, 2017 at 3:00 PM, Eli Zaretskii <eliz <at> gnu.org> wrote:
> >> Caching is fine with me.
> >
> > Patches are welcome.  (I know almost nothing about fonts.)
> 
> ‘inhibit-compacting-font-caches’ does the trick, at least for me. When I
> open ‘unicode.txt’, then the memory footprint of EMACS increases by
> about 13 MB. That is less than 2 ‰ of my system memory, negligible.

That variable inhibits compacting the frames' font caches globally.
That is, they will never be compacted.  So measuring the increase of
the memory footprint for a small number of fonts is not the worst use
case.  An average system nowadays has many hundreds of fonts
installed.

Anyway, if that variable does the trick for you, and you are happy
with it, by all means keep using it.  That's why I added it.  I just
hoped we will be able to find a better solution, but I guess not yet.

Thanks.




This bug report was last modified 5 years and 256 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.