I have the following lines in my ~/.Xresources: Emacs.pane.menubar.font: Droid Sans-10:bold Emacs.pane.menubar.background: maroon Emacs.pane.menubar.foreground: ivory With media-libs/fontconfig-2.13.0, emacs-25.3-r3 will show the menubar font as medium weight. With fontconfig-2.12.6, it is correctly shown as bold.
Created attachment 523706 [details] Screenshot with fontfonfig-2.12.6
Created attachment 523708 [details] Screenshot with fontfonfig-2.13.0
Created attachment 523710 [details] emerge --info
Upstream bug report: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=30793
Definitely a problem with fontconfig-2.13.0: $ fc-match 'Droid Sans-10:bold' DroidSans-Bold.ttf: "Droid Sans" "Bold" $ fc-match 'Droid Sans-10:bold' DroidSans.ttf: "Droid Sans" "Regular" Upstream bug report: https://bugs.freedesktop.org/show_bug.cgi?id=105415 Reassigning.
(In reply to Ulrich Müller from comment #5) > Definitely a problem with fontconfig-2.13.0: Sorry, these commands are with different versions. With fontconfig-2.12.6 (behaviour as expected): > $ fc-match 'Droid Sans-10:bold' > DroidSans-Bold.ttf: "Droid Sans" "Bold" And with fontconfig-2.13.0: > $ fc-match 'Droid Sans-10:bold' > DroidSans.ttf: "Droid Sans" "Regular"
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34fb871502ff7941c54b6058727caf3ef563dc39 commit 34fb871502ff7941c54b6058727caf3ef563dc39 Author: Ulrich Müller <ulm@gentoo.org> AuthorDate: 2018-03-14 12:31:50 +0000 Commit: Ulrich Müller <ulm@gentoo.org> CommitDate: 2018-03-14 12:31:50 +0000 media-libs/fontconfig: Fix handling of locale and of font weights. Non-maintainer commit. Patches from upstream. Closes: https://bugs.gentoo.org/650332 Closes: https://bugs.gentoo.org/650370 Package-Manager: Portage-2.3.24, Repoman-2.3.6 .../files/fontconfig-2.13.0-locale.patch | 37 +++++ .../fontconfig/files/fontconfig-2.13.0-names.patch | 93 ++++++++++++ media-libs/fontconfig/fontconfig-2.13.0-r1.ebuild | 164 +++++++++++++++++++++ 3 files changed, 294 insertions(+)