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


View this message in rfc822 format

From: Gregory Heytings <gregory <at> heytings.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: rudalics <at> gmx.at, larsi <at> gnus.org, 52493 <at> debbugs.gnu.org, rpluim <at> gmail.com, dgutov <at> yandex.ru
Subject: bug#52493: 29.0.50; Setting Inconsolata up in init.el makes default face rendered wrong
Date: Sun, 25 Dec 2022 22:42:40 +0000
>>> 2. I start 'emacs -Q' and evaluate (set-face-attribute 'default nil 
>>> :height 105 :family "Inconsolata_dz") in *scratch*. I get that 
>>> weird-looking font that blinks briefly in scenario 1. 'M-x 
>>> describe-face RET default' reports "Ubuntu Condensed" as family.
>>
>> Again, can you try to evaluate (set-face-attribute 'default nil :height 
>> 110 :font "Inconsolata_dz") (with ":font", not ":family") instead, and 
>> tell us what happens?
>>
>> Can you try your other recipes, using ":font" where you used ":family", 
>> and tell us whether what happens is what you expected?
>
> What is the significance of using :font instead of :family in these 
> cases, for the purpose of discussing and investigating this issue?
>

The two reasons are:

1. IME passing an font name in the :font attribute gives in general better 
results than passing a font name in the :family attribute.  (And Dmitry 
confirmed that the problem he was facing was mostly solved with that 
change.)

2. Dmitry's specific recipe, which worked with Emacs 28, cannot work 
anymore with Emacs 29 because of dae3c4e89b.





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.