[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Failed assertion on make-frame-on-display
From: |
Chong Yidong |
Subject: |
Re: Failed assertion on make-frame-on-display |
Date: |
Mon, 20 Nov 2006 15:16:43 -0500 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.90 (gnu/linux) |
Richard Stallman <address@hidden> writes:
> I can trigger the following assertion by running
>
> emacs -Q -fn "-*-terminus-medium-r-*-*-16-*-*-*-*-*-*-1"
>
> and M-x make-frame-on-display to a display that doesn't have that font
> installed. When compiled without assertions, emacs dies when
> dereferencing the NULL returned by choose_face_font.
I can't test this, but probably the way to fix this is to make it an
error to try to make a frame on a display that doesn't support the
default font; i.e., x-create-frame should try to load the default font
on the new display if it is not already loaded, and do an Ferror if
the load fails.
WDYT?