bug-gnu-emacs
[Top][All Lists]
Advanced

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

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


From: Dmitry Gutov
Subject: bug#52493: 29.0.50; Setting Inconsolata up in init.el makes default face rendered wrong
Date: Thu, 5 Jan 2023 16:14:39 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2

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.

Attachment: foo.txt
Description: Text document


reply via email to

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