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: Mon, 26 Dec 2022 14:05:53 +0000
>> 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.)
>
> It is strange, because if the family is simply the name of the font, it 
> should be interpreted the same, because what else could family mean in 
> that case?
>

In theory, yes, but in practice the code paths are different in both 
cases.  The :font attribute gets a special treatment in 
Finternal_set_lisp_face_attribute, which is more "direct" than the 
treatment of the :family attribute, and (again IME) gives better results.





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.