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 #122 received at 52493 <at> debbugs.gnu.org (full text, mbox):

From: Gregory Heytings <gregory <at> heytings.org>
To: Dmitry Gutov <dgutov <at> yandex.ru>
Cc: rudalics <at> gmx.at, Eli Zaretskii <eliz <at> gnu.org>, 52493 <at> debbugs.gnu.org,
 Lars Ingebrigtsen <larsi <at> gnus.org>, rpluim <at> gmail.com
Subject: Re: bug#52493: 29.0.50; Setting Inconsolata up in init.el makes
 default face rendered wrong
Date: Wed, 21 Dec 2022 23:39:34 +0000
>
> Here are a bunch of scenarios, most of them pretty odd. I was primarily 
> testing scenario number 2.
>

Thanks for your detailed reply.

>> (set-face-attribute 'default nil :height 110 :font "Inconsolata_dz")
>> 
>> in a init file, everything works as I'd expect it to work.
>
> 1. If I put this in my init file and start Emacs, during startup it 
> blinks to a weird font (narrow window, narrow characters), but then 
> finishes startup with a window that looks reasonable (both the size of 
> the window and the shape of characters). 'M-x describe-face RET default' 
> reports "Inconsolata_dz" as family.
>

Can you please try an init file with only that line, and that exact line? 
Note that your original recipe used ":family", where ":font" should be 
used (and is used in the call to set-face-attribute above).

>
> 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?





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

Previous Next


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