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: martin rudalics
Subject: 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

> 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

Attachment: Gutov.diff
Description: Text Data


reply via email to

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