Subject: bug#52493: 29.0.50; Setting Inconsolata up in init.el makes default face rendered wrong

From: Eli Zaretskii <[email-masked]>
Date: Fri, 17 Dec 2021 16:42:04 +0200

> Cc: [email-masked], [email-masked], [email-masked]
> From: Dmitry Gutov <[email-masked]>
> Date: Fri, 17 Dec 2021 17:06:05 +0300
> 
> >> But when I specify :weight 'medium, shouldn't it request medium then?
> > 
> > You didn't just specify medium, you specified both the family and the
> > weight.  The implementation does it one attribute at a time (because
> > doing it together triggered other bugs), so at first Emacs attempts to
> > find a font with that family and the default weight.  And without the
> > kludge in font.c, that font is rejected because it doesn't have
> > regular weight.
> 
> Feels counter-intuitive, but all right.

The comments in the code point to bug#1127.  Maybe that problem no
longer exists, and we could avoid doing that?

> I've tested the latest master, and that problem is fixed. Thanks!

Thanks for testing.