Subject: Re: bug#16306: 24.3.50; font change creates blank column on Lucid

From: YAMAMOTO Mitsuharu <[email-masked]>
Date: Wed, 01 Jan 2014 13:51:54 +0900

>>>>> On Tue, 31 Dec 2013 18:52:28 +0100, martin rudalics <[email-masked]> said:

>> It no longer shows a blank column.  But for the Lucid case, the value
>> of (frame-width) is reduced from 80 to 79 (and 80th column is
>> partially shown) when I change the frame font to Courier-18.

> I can't repeat that here, neither with Lucid nor with Motif.

It seems that the behavior depends on the window manager.  The
original report was with quartz-wm, the default one for X11 on OS X.
The value of (list (frame-width) (frame-pixel-width)) there was

(80 674) ;; before (set-frame-font "Courier-18")
(79 1162) ;; after (set-frame-font "Courier-18")

but with twm, it becomes

(80 674) ;; before (set-frame-font "Courier-18")
(80 1166) ;; after (set-frame-font "Courier-18")

The latter looks similar to yours.

> Can you tell me what

> (list
>   (* (frame-char-width) 80)
>   (frame-fringe-width)
>   (frame-scroll-bar-width)
>   (* (frame-parameter nil 'internal-border-width) 2))

> gives on your system?  Here it's (720 18 16 2) before and (1200 30 16 2)
> after the font change.

On my system, (640 16 16 2) before and (1120 28 16 2) after the font
change.

Probably we should wait for reports on other window managers, in case
it is a bug in quartz-wm.

				     YAMAMOTO Mitsuharu
				[email-masked]