GNU bug report logs - #52493
29.0.50; Setting Inconsolata up in init.el makes default face rendered wrong

Previous Next

Package: emacs;

Reported by: Dmitry Gutov <dgutov <at> yandex.ru>

Date: Tue, 14 Dec 2021 23:45:01 UTC

Severity: normal

Found in version 29.0.50

Full log


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

From: martin rudalics <rudalics <at> gmx.at>
To: Dmitry Gutov <dgutov <at> yandex.ru>, Eli Zaretskii <eliz <at> gnu.org>
Cc: rpluim <at> gmail.com, 52493 <at> debbugs.gnu.org
Subject: Re: bug#52493: 29.0.50; Setting Inconsolata up in init.el makes
 default face rendered wrong
Date: Thu, 22 Dec 2022 11:15:14 +0100
[Message part 1 (text/plain, inline)]
> Initially its contents are:
>
> xg_wm_set_size_hint .. line_height .. 36 .. base_height .. 43 .. height_inc .. 18
> xg_wm_set_size_hint .. line_height .. 36 .. base_height .. 84 .. height_inc .. 18
>
> but after I eval the above (one or many times, doesn't matter), it contains:
>
> xg_wm_set_size_hint .. line_height .. 36 .. base_height .. 43 .. height_inc .. 18
> xg_wm_set_size_hint .. line_height .. 36 .. base_height .. 84 .. height_inc .. 18
> xg_wm_set_size_hint .. line_height .. 45 .. base_height .. 88 .. height_inc .. 22
> xg_wm_set_size_hint .. line_height .. 37 .. base_height .. 84 .. height_inc .. 18
>
> Its contents are also no different at that "special" height where the frame stops resizing. Just in case that's important.

Thanks.  Please with the new patch attached eval in *scratch* the first
form

(defun foo-set-face-attribute ()
  (foo-it "set-face-attribute")
  (set-face-attribute 'default nil :height 110 :family "InconsolataLGC"))

(foo-set-face-attribute)

and then eval the last form a couple of times.  This should help us to
discern whether and how 'set-face-attribute' has an effect on the size
hints.

martin
[Gutov.diff (text/x-patch, attachment)]

This bug report was last modified 2 years and 249 days ago.

Previous Next


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