GNU bug report logs - #7123
23.2; large blank left margin with variable-width font

Previous Next

Package: emacs;

Reported by: Bill Richter <richter <at> math.northwestern.edu>

Date: Tue, 28 Sep 2010 17:03:02 UTC

Severity: normal

Found in version 23.2

Fixed in version 23.3

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


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

From: Glenn Morris <rgm <at> gnu.org>
To: Bill Richter <richter <at> math.northwestern.edu>
Cc: 7123 <at> debbugs.gnu.org
Subject: Re: bug#7123: closed (Re: bug#7123: 23.2;
	large blank left margin with variable-width font)
Date: Sat, 02 Oct 2010 20:38:26 -0400
Bill Richter wrote:

> Why don't you have a tar.gz file?

A combination of lack of demand for development snapshots, and lack of
a volunteer to make them.

The relevant patch looks simple, if you want to try applying it to
stock Emacs 23.2. (I have not tested that.)

*** src/xfont.c	2010-01-13 08:35:10 +0000
--- src/xfont.c	2010-09-29 00:52:03 +0000
***************
*** 861,867 ****
  
        val = Ffont_get (font_object, QCavgwidth);
        if (INTEGERP (val))
! 	font->average_width = XINT (val);
        if (font->average_width < 0)
  	font->average_width = - font->average_width;
        if (font->average_width == 0
--- 861,867 ----
  
        val = Ffont_get (font_object, QCavgwidth);
        if (INTEGERP (val))
! 	font->average_width = XINT (val) / 10;
        if (font->average_width < 0)
  	font->average_width = - font->average_width;
        if (font->average_width == 0

> BTW is RMS still active in the Emacs biz?

Peripherally the last few years, but it could always change again in
future.




This bug report was last modified 14 years and 291 days ago.

Previous Next


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