Subject: Re: bug#52493: 29.0.50; Setting Inconsolata up in init.el makes default face rendered wrong

From: Dmitry Gutov <[email-masked]>
Date: Thu, 5 Jan 2023 16:14:39 +0200

Hi Martin,

On 05/01/2023 11:47, martin rudalics wrote:
>  > xg_wm_set_size_hint scale 2 char width 18 vscroll 32 fringes 16 
> borders 0 base width 33 width inc 9
>  >     char height 36 menubar 50 toolbar 82 hscroll 0 borders 0 base 
> height 84 height inc 18
>  > xg_frame_set_char_size old native pixels 1488x1296 new native pixels 
> 1491x1296 outer pixels 745x714 outer rest 1x0
> 
> Apparently, rounding the native pixels doesn't make sense.  Let's round
> just the outer pixels instead.  Patch attached.

I'm not seeing much of a change, if any:

- My init script stills results in a frame 84 columns wide.

- The frame still shrinks at certain width ranges.

Attached are the contents of foo after doing this:

   (set-frame-width nil 102)
   (set-face-attribute 'default nil :height 110 :family "InconsolataLGC")

The second line was evaluated 5 times.