[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#52493: 29.0.50; Setting Inconsolata up in init.el makes default face
From: |
Dmitry Gutov |
Subject: |
bug#52493: 29.0.50; Setting Inconsolata up in init.el makes default face rendered wrong |
Date: |
Thu, 16 Dec 2021 01:43:31 +0300 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 |
On 15.12.2021 17:57, Eli Zaretskii wrote:
From: Dmitry Gutov <dgutov@yandex.ru>
Date: Wed, 15 Dec 2021 02:43:30 +0300
It's a weird scenario, but evaluating this in 'emacs -Q' will make
characters render more narrowly (and a little shorter) than it did
previously:
(set-face-attribute 'default nil :height 110 :family "Inconsolata_dz")
See the attached screenshot with comparison (master is on the left).
Indeed, weird. What does the below show?
M-: (face-font 'default) RET
after you evaluate the above in "emacs -Q"?
"-DAMA-Ubuntu Condensed-regular-normal-normal-*-29-*-*-*-*-0-iso10646-1"
So... not the right family and it's "condensed", for some reason.
For comparison,
(set-face-attribute 'default nil :height 110 :family "Ubuntu")
results in
"-DAMA-Ubuntu-regular-normal-normal-*-29-*-*-*-*-0-iso10646-1"
And by default (without any set-face-attribute calls),
(face-font 'default) evaluates to
"-DAMA-Ubuntu Mono-regular-normal-normal-*-35-*-*-*-m-0-iso10646-1"
And how does it differ
from the same in a version of Emacs that predates the changes of the
mode-line face?
Current emacs-28 returns
"-PfEd-Inconsolata_dz-normal-normal-normal-*-29-*-*-*-m-0-iso10646-1"
Regarding "version of Emacs that predates", I wasn't sure which commit
to pick exactly, but 756b8a5f1bd28aeadc804 also returns that value, and
doesn't have the described problem.
Also, what happens if you invoke Emacs like this:
$ emacs -Q -fn Inconsolata_dz
It doesn't look as narrow, and (face-font 'default) evaluates to
"-PfEd-Inconsolata_dz-medium-normal-normal-*-32-*-*-*-m-0-iso10646-1"
- bug#52493: 29.0.50; Setting Inconsolata up in init.el makes default face rendered wrong, Dmitry Gutov, 2021/12/14
- bug#52493: 29.0.50; Setting Inconsolata up in init.el makes default face rendered wrong, Eli Zaretskii, 2021/12/15
- bug#52493: 29.0.50; Setting Inconsolata up in init.el makes default face rendered wrong,
Dmitry Gutov <=
- bug#52493: 29.0.50; Setting Inconsolata up in init.el makes default face rendered wrong, Eli Zaretskii, 2021/12/16
- bug#52493: 29.0.50; Setting Inconsolata up in init.el makes default face rendered wrong, Dmitry Gutov, 2021/12/16
- bug#52493: 29.0.50; Setting Inconsolata up in init.el makes default face rendered wrong, Eli Zaretskii, 2021/12/16
- bug#52493: 29.0.50; Setting Inconsolata up in init.el makes default face rendered wrong, Dmitry Gutov, 2021/12/16
- bug#52493: 29.0.50; Setting Inconsolata up in init.el makes default face rendered wrong, Eli Zaretskii, 2021/12/16
- bug#52493: 29.0.50; Setting Inconsolata up in init.el makes default face rendered wrong, Dmitry Gutov, 2021/12/16
- bug#52493: 29.0.50; Setting Inconsolata up in init.el makes default face rendered wrong, Eli Zaretskii, 2021/12/16
- bug#52493: 29.0.50; Setting Inconsolata up in init.el makes default face rendered wrong, Eli Zaretskii, 2021/12/16
- bug#52493: 29.0.50; Setting Inconsolata up in init.el makes default face rendered wrong, Dmitry Gutov, 2021/12/16
- bug#52493: 29.0.50; Setting Inconsolata up in init.el makes default face rendered wrong, Eli Zaretskii, 2021/12/16