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 #215 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: Mon, 26 Dec 2022 16:19:48 +0000
[Message part 1 (text/plain, inline)]
>> By the way, I did not realize that the docstring of 
>> 'set-face-attribute' says nothing about the evaluation order of its 
>> arguments.  I suggest the attached patch.
>
> Are we sure that having order-dependent behavior is a good idea?
>

I did not design that function, that's how it works.  But given how 
intricate the face machinery is, I'm not sure it's possible to do much 
better.

>
> Since all args are available at the time of evaluation, wouldn't it be 
> better to handle :font and/or :family before all the others?
>

You may have seen in the attached patch that :family is indeed handled 
before all other attributes, but not :font.

Can you please confirm that the recipes you sent are working as expected 
when you place the :font attribute before all other attributes?

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.