Subject: bug#51978: Backport regular fonts support to emacs-28

From: Jan Synáček <[email-masked]>
Date: Fri, 19 Nov 2021 20:23:15 +0100

Please, consider "backporting" (they can be clearly cherry picked) the
following patches from master to emacs-28:
https://github.com/emacs-mirror/emacs/commit/65fd3ca84f75aee0dfebb87fa793dae57c1caf35
https://github.com/emacs-mirror/emacs/commit/dae3c4e89b27fa008d029a30cf7bd02fc3fbb6e2

I consider rendering Regular fonts as Medium (a.k.a Fat -- makes my
eyes suffer) fonts a bug, therefore I'm filing this as a bug report.

Thank you,
-- 
Jan Synáček