GNU bug report logs - #18528
24.3.93; Crash during restoration of frameset from desktop

Previous Next

Package: emacs;

Reported by: Eli Zaretskii <eliz <at> gnu.org>

Date: Mon, 22 Sep 2014 15:24:02 UTC

Severity: normal

Found in version 24.3.93

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: martin rudalics <rudalics <at> gmx.at>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 18528 <at> debbugs.gnu.org
Subject: bug#18528: 24.3.93; Crash during restoration of frameset from desktop
Date: Tue, 23 Sep 2014 21:17:02 +0200
>>   > Yes, I think so.  I think the reason we didn't see any problems with
>>   > that is that GUI windows always over-allocate their glyph matrices, to
>>   > be prepared for dealing with the smallest possible font, which is
>>   > rarely if ever used.  But I think if you actually use that smallest
>>   > font for the default face, you will see the problem.
>>
>> I thought it's not needed because in required_matrix_width we use the
>> pixel width when HAVE_WINDOW_SYSTEM is defined.
>
> Is this a response to what's above or to what's below?

To what's above.  Currently we

      return (((WINDOW_PIXEL_WIDTH (w) + ch_width - 1)
	       / ch_width) * w->ncols_scale_factor
	      /* 2 partially visible columns in the text area.  */
	      + 2
	      /* One partially visible column at the right
		 edge of each marginal area.  */
	      + 1 + 1);

so columns aren't involved IIUC.

martin




This bug report was last modified 10 years and 244 days ago.

Previous Next


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