reddit / emacs

Font regular/medium weight issue

giant3 · 2022-06-16 17:12
I am on Emacs 28.1 compiled with HarfBuzz/Cairo, still Emacs picks up the medium weight font when I specify the regular weight. It works fine in gnome-terminal and other applications. Only way to get it select the regular weight font is to remove the medium weight font. The font is [**M PLUS Code Latin 50**](https://github.com/coz-m/MPLUS_FONTS/tree/master/fonts/otf)
akho_ · 2022-06-16 19:47
Emacs learned to distinguish between medium and regular only recently [1], I think you need to build from master. [1] http://git.savannah.gnu.org/cgit/emacs.git/commit/src/font.c?id=65fd3ca84f75aee0dfebb87fa793dae57c1caf35
[deleted] · 2022-06-16 21:46
[deleted]
giant3 · 2022-06-16 22:15
Looks like I built tag emacs-28.1 and this patch isn't part of it. 😬