Subject: bug#25228: 25.1; GNU emacs 25.1: custom-set-faces from init file ~/.emacs ignored

From: "Dr. Werner Fink" <[email-masked]>
Date: Tue, 20 Dec 2016 18:28:45 +0100

On Tue, Dec 20, 2016 at 07:06:50PM +0200, Eli Zaretskii wrote:
> > Date: Tue, 20 Dec 2016 17:25:11 +0100
> > From: martin rudalics <[email-masked]>
> > CC: [email-masked], [email-masked]
> > 
> > Before e65c307 the disjunct
> > 
> >           (or (font-get (face-attribute 'default :font f 'default)
> >                     :user-spec)
> > 
> > in ‘font-setting-change-default-font’ always evaluated to nil.  After
> > e65c307 it returns some non-nil value and ‘frame-font’ gets set to that.
> 
> And the value "Monospace 11" you quoted back then -- any idea where
> does that come from?

AFAICS monospace font is used in src/xsettings.c as well as in src/xfns.c
and src/ftfont.c ... also the configure has set HAVE_XFT as well as HAVE_GCONF
to 1 ... and the function font-get-system-font does return the current
mono font and is used in lisp/dynamic-setting.el

-- 
  "Having a smoking section in a restaurant is like having
          a peeing section in a swimming pool." -- Edward Burr