bug-gnu-emacs
[Top][All Lists]
Advanced

[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: Eli Zaretskii
Subject: bug#52493: 29.0.50; Setting Inconsolata up in init.el makes default face rendered wrong
Date: Thu, 22 Dec 2022 09:18:47 +0200

> Date: Wed, 21 Dec 2022 23:39:22 +0000
> From: Gregory Heytings <gregory@heytings.org>
> cc: dgutov@yandex.ru, larsi@gnus.org, rudalics@gmx.at, rpluim@gmail.com, 
>     52493@debbugs.gnu.org
> 
> 
> >> Which scenario?  If I put
> >>
> >> (set-face-attribute 'default nil :height 110 :font "Inconsolata_dz")
> >>
> >> in a init file, everything works as I'd expect it to work.
> >
> > Can you show your results and contrast them with what Dmitry reported in
> >
> >  https://debbugs.gnu.org/cgi/bugreport.cgi?bug=52493#11
> >
> 
> Evaluating
> 
> (set-face-attribute 'default nil :height 110 :family "Inconsolata_dz")
> 
> (note the ":family") has no effect, IOW the font of the default face is 
> unchanged.  Evaluating
> 
> (set-face-attribute 'default nil :height 110 :font "Inconsolata_dz")
> 
> (note the ":font") changes the default font to Inconsolata_dz, and 
> (face-font 'default) returns
> 
> "-PfEd-Inconsolata_dz-medium-normal-normal-*-29-*-*-*-m-0-iso10646-1"
> 
> The result is the same before the change in bug#59347.
> 
> With emacs -Q -fn Inconsolata_dz the font of the default face is
> 
> "-PfEd-Inconsolata_dz-medium-normal-normal-*-32-*-*-*-m-0-iso10646-1"
> 
> The result is the same before the change in bug#59347.

So this result from Dmitry:

> >> 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"

is not reproduced on your system, is that right?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]