GNU bug report logs - #30793
25.3; menubar font broken with fontconfig-2.13.0 (with Lucid toolkit)

Previous Next

Package: emacs;

Reported by: Ulrich Mueller <ulm <at> gentoo.org>

Date: Tue, 13 Mar 2018 10:54:01 UTC

Severity: normal

Tags: notabug

Found in version 25.3

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Forwarded to https://bugs.freedesktop.org/show_bug.cgi?id=105415

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 30793 in the body.
You can then email your comments to 30793 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#30793; Package emacs. (Tue, 13 Mar 2018 10:54:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ulrich Mueller <ulm <at> gentoo.org>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 13 Mar 2018 10:54:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Ulrich Mueller <ulm <at> gentoo.org>
To: bug-gnu-emacs <at> gnu.org
Subject: 25.3; menubar font broken with fontconfig-2.13.0 (with Lucid toolkit)
Date: Tue, 13 Mar 2018 11:53:01 +0100
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

So I would expect the menubar font to be bold (which worked as
expected with fontconfig-2.12.6).

However, with fontconfig-2.13.0, the font appears in medium weight.
Other attributes, like the typeface itself or the size seem to work
correctly.

See the downstream bug at https://bugs.gentoo.org/650370
for screenshots with fontconfig-2.12.6 and fontconfig-2.13.0.


In GNU Emacs 25.3.1 (x86_64-pc-linux-gnu, X toolkit)
 of 2018-03-12 built on juno
Windowing system distributor 'The X.Org Foundation', version 11.0.11905000
System Description:	Gentoo Base System release 2.4.1

Configured using:
 'configure --prefix=/usr --build=x86_64-pc-linux-gnu
 --host=x86_64-pc-linux-gnu --mandir=/usr/share/man
 --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc
 --localstatedir=/var/lib --disable-dependency-tracking
 --disable-silent-rules --docdir=/usr/share/doc/emacs-25.3-r3
 --htmldir=/usr/share/doc/emacs-25.3-r3/html --libdir=/usr/lib64
 --program-suffix=-emacs-25 --infodir=/usr/share/info/emacs-25
 --localstatedir=/var
 --enable-locallisppath=/etc/emacs:/usr/share/emacs/site-lisp
 --with-gameuser=:gamestat --without-compress-install
 --with-file-notification=inotify --enable-acl --with-dbus
 --without-modules --with-gpm --without-hesiod --without-kerberos
 --without-kerberos5 --with-xml2 --without-selinux --with-gnutls
 --without-wide-int --with-zlib --with-sound=alsa --with-x --without-ns
 --without-gconf --with-gsettings --without-toolkit-scroll-bars
 --with-gif --with-jpeg --with-png --with-rsvg --with-tiff --with-xpm
 --with-imagemagick --with-xft --without-cairo --with-libotf
 --with-m17n-flt --with-x-toolkit=lucid --with-xaw3d
 GENTOO_PACKAGE=app-editors/emacs-25.3-r3 'CFLAGS=-march=core2 -ggdb -O2
 -pipe' CPPFLAGS= 'LDFLAGS=-Wl,-O1 -Wl,--as-needed''

Configured features:
XAW3D XPM JPEG TIFF GIF PNG RSVG SOUND GPM DBUS GSETTINGS NOTIFY ACL
GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB LUCID X11

Important settings:
  value of $LC_CTYPE: en_GB.UTF-8
  value of $LC_TIME: en_GB.UTF-8
  value of $LANG: en_US.utf8
  locale-coding-system: utf-8-unix

Major mode: Lisp Interaction

Minor modes in effect:
  tooltip-mode: t
  global-eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message dired format-spec rfc822 mml
mml-sec password-cache epg epg-config gnus-util mm-decode mm-bodies
mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail
rfc2047 rfc2045 ietf-drums mm-util help-fns help-mode easymenu
cl-loaddefs pcase cl-lib mail-prsvr mail-utils time-date mule-util
tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type
mwheel x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt
fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register
page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock
font-lock syntax facemenu font-core frame cl-generic cham georgian
utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean
japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european
ethiopic indian cyrillic chinese charscript case-table epa-hook
jka-cmpr-hook help simple abbrev minibuffer cl-preloaded nadvice
loaddefs button faces cus-face macroexp files text-properties overlay
sha1 md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote dbusbind inotify dynamic-setting
system-font-setting font-render-setting x-toolkit x multi-tty
make-network-process emacs)

Memory information:
((conses 16 87036 3829)
 (symbols 48 19665 0)
 (miscs 40 73 147)
 (strings 32 14991 5159)
 (string-bytes 1 422238)
 (vectors 16 11759)
 (vector-slots 8 430693 5080)
 (floats 8 166 45)
 (intervals 56 299 0)
 (buffers 976 19))




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#30793; Package emacs. (Tue, 13 Mar 2018 16:56:01 GMT) Full text and rfc822 format available.

Message #8 received at 30793 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Ulrich Mueller <ulm <at> gentoo.org>
Cc: 30793 <at> debbugs.gnu.org
Subject: Re: bug#30793: 25.3;
 menubar font broken with fontconfig-2.13.0 (with Lucid toolkit)
Date: Tue, 13 Mar 2018 18:55:19 +0200
> Date: Tue, 13 Mar 2018 11:53:01 +0100
> From: Ulrich Mueller <ulm <at> gentoo.org>
> 
> 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
> 
> So I would expect the menubar font to be bold (which worked as
> expected with fontconfig-2.12.6).
> 
> However, with fontconfig-2.13.0, the font appears in medium weight.
> Other attributes, like the typeface itself or the size seem to work
> correctly.

Isn't this entirely between X and fontconfig?  I mean, what's Emacs's
part in this?

Was this reported to the fontconfig developers?

Thanks.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#30793; Package emacs. (Tue, 13 Mar 2018 21:05:02 GMT) Full text and rfc822 format available.

Message #11 received at 30793 <at> debbugs.gnu.org (full text, mbox):

From: Ulrich Mueller <ulm <at> gentoo.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 30793 <at> debbugs.gnu.org
Subject: Re: bug#30793: 25.3;
 menubar font broken with fontconfig-2.13.0 (with Lucid toolkit)
Date: Tue, 13 Mar 2018 22:04:21 +0100
>>>>> On Tue, 13 Mar 2018, Eli Zaretskii wrote:

> Isn't this entirely between X and fontconfig?  I mean, what's Emacs's
> part in this?

Indeed, it is entirely a fontconfig problem:

> $ fc-match 'Droid Sans-10:bold'   # with fontconfig-2.12.6
> DroidSans-Bold.ttf: "Droid Sans" "Bold"

> $ fc-match 'Droid Sans-10:bold'   # with fontconfig-2.13.0
> DroidSans.ttf: "Droid Sans" "Regular"

> Was this reported to the fontconfig developers?

It was: https://bugs.freedesktop.org/show_bug.cgi?id=105415

Sorry for the noise.




Added tag(s) notabug. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Tue, 13 Mar 2018 21:29:03 GMT) Full text and rfc822 format available.

Set bug forwarded-to-address to 'https://bugs.freedesktop.org/show_bug.cgi?id=105415'. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Tue, 13 Mar 2018 21:29:03 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 30793 <at> debbugs.gnu.org and Ulrich Mueller <ulm <at> gentoo.org> Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Tue, 13 Mar 2018 21:29:03 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 11 Apr 2018 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 7 years and 130 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.