GNU bug report logs -
#52493
29.0.50; Setting Inconsolata up in init.el makes default face rendered wrong
Previous Next
Full log
Message #125 received at 52493 <at> debbugs.gnu.org (full text, mbox):
> Date: Wed, 21 Dec 2022 23:39:22 +0000
> From: Gregory Heytings <gregory <at> heytings.org>
> cc: dgutov <at> yandex.ru, larsi <at> gnus.org, rudalics <at> gmx.at, rpluim <at> gmail.com,
> 52493 <at> 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?
This bug report was last modified 2 years and 249 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.