[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: puzzle.el.

From: Matt Hodges
Subject: Re: puzzle.el.
Date: Mon, 19 Jul 2004 10:35:27 +0100
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3.50 (gnu/linux)

>>>>> Kim F Storm writes:

 > > If the number of image slices is too large, Emacs can crash in
 > > the redisplay code. Evaluating the following:


 > The problem is that the window's "glyph matrix" is too small.

 > The height and width of the glyph matrix is calculated from the
 > smallest font that is available on the window's frame.

 > For example, if the smallest font is 10x10 and your window is
 > 600x800, you will get a glyph matrix of approx 60x80. Now, if you
 > use a sliced image (or just many images which are less than 10x10
 > in size, you can easily fill the window with more than those 60x80
 > glyphs.

 > Since there is no bounds checking on inserting into a glyph matrix,
 > emacs eventually traps in such cases.

So I could guess, programmatically, when this might fail. font-info
looks relevant, but I think there is a bug in the documentation; the
reference to CHARSET is obsolete?

 > I will see if there is a trivial fix...

Thanks for taking a look.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]