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

Previous Next

Package: emacs;

Reported by: werner <at> suse.de (Dr. Werner Fink)

Date: Mon, 19 Dec 2016 11:57:01 UTC

Severity: normal

Tags: patch

Merged with 24482, 26340, 40419, 40461

Found in versions 25.1, 26.0.50, 26.3

Full log


View this message in rfc822 format

From: martin rudalics <rudalics <at> gmx.at>
To: "Dr. Werner Fink" <werner <at> suse.de>, Eli Zaretskii <eliz <at> gnu.org>
Cc: 25228 <at> debbugs.gnu.org
Subject: bug#25228: [emacs-bug] bug#25228: 25.1; GNU emacs 25.1: custom-set-faces from init file ~/.emacs ignored
Date: Wed, 21 Dec 2016 09:56:19 +0100
> There seems to be also an other place where rounding does not fit. With system
> font set, that is no custom font at all the height of the same font are different,
> that is
>
>    (font-face-attributes (font-get-system-font))
>
> results in
>
>    (:family "Monospace" :height 110)
>
> whereas
>
>    (font-face-attributes (face-attribute 'default :font))
>
> shows
>
>    (:family "Source Code Pro" :height 113 :weight normal :slant normal :width normal)

I get "DejaVu Sans Mono" instead of "Source Code Pro" here and
identical values otherwise.

> which is the same font (even over different channels) but different height. I've
> verified this by using
>
>    (custom-set-faces '(default ((t (:family "Source Code Pro" :height 110 :weight normal :slant normal :width normal)))))
>    (custom-set-faces '(default ((t (:family "Monospace" :height 110)))))
>
> Would interesting how to compare the uperficial ifferent font face attributes
> for the same font in (font-setting-change-default-font).

I'm missing you here.

martin




This bug report was last modified 104 days ago.

Previous Next


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