[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#18501: Acknowledgement (24.3.93; OS X; crash in free() when calling
From: |
Dmitry Antipov |
Subject: |
bug#18501: Acknowledgement (24.3.93; OS X; crash in free() when calling macfont_close()) |
Date: |
Sun, 21 Sep 2014 09:03:55 +0400 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.1 |
On 09/21/2014 02:08 AM, Jim Radford wrote:
I'm curious, why not just let the GC clean up the fonts in all cases?
This should be possible, but probably requires a substantial rewrite
of font.c and type-specific font drivers (xfont.c, w32font.c, etc).
Initially font cleanup at GC was introduced as a workaround for some
flaws in current font management subsystem. See
http://lists.gnu.org/archive/html/emacs-devel/2013-10/msg00740.html
Wouldn't they then also stay cached across frame-create /
frame-delete?
This should be possible too, but it's hard to say whether it's really
worth doing. I just don't see a usage pattern where frames are created
and deleted often enough so any caching makes sense.
Dmitry