[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: |
Fri, 17 Dec 2021 15:01:37 +0200 |
> Cc: rpluim@gmail.com, 52493@debbugs.gnu.org
> From: Dmitry Gutov <dgutov@yandex.ru>
> Date: Fri, 17 Dec 2021 15:30:46 +0300
>
> > Lars, do we make that kludge unconditionally compiled on all systems?
> > The change which Dmitry's bisection found as the culprit cannot be
> > undone, I think, because without it we cannot support medium weight
> > separately from regular.
>
> Are we sure the bisected change (dae3c4e89b27) itself doesn't need a
> tweak? From all the explanations here, I would expect
>
> (set-face-attribute 'default nil :height 110 :weight 'medium :family
> "Inconsolata")
>
> to work correctly even without your "kludge". But it does not.
>
> Like, okay, Inconsolata_dz has a weird "style" ("dz"), but the plain
> Inconsolata is "Medium".
Plain Inconsolata is indeed medium, but Emacs now requests regular,
not medium, as the default weight. And, according to the Fc log you
posted, Inconsolata doesn't have a regular weight variety (whose value
should be 80, not 100).
> >> When I evaluate
> >>
> >> (set-face-attribute 'default nil :height 110 :family "InconsolataLGC")
> >>
> >> (this variation of the font doesn't have the original problem), the
> >> height of the window shrinks, unless the window is maximized.
> >>
> >> If I evaluate it multiple times, the height shrinks every time I do that
> >> (stopping at height 5, when even the minibuffer becomes inaccessible).
> >
> > The original shrinking is expected, I think, but the subsequent ones
> > shouldn't happen. Martin, could you look into this, perhaps?
>
> Since I'm measuring window height in characters (rows) here and not in
> pixels, I don't think even the first change should happen.
>
> Though of course the window size in pixels should change.
Let's wait for Martin to chime in, he's the expert on this stuff.
- bug#52493: 29.0.50; Setting Inconsolata up in init.el makes default face rendered wrong, (continued)
- 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
- 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/17
- bug#52493: 29.0.50; Setting Inconsolata up in init.el makes default face rendered wrong, Lars Ingebrigtsen, 2021/12/17
- bug#52493: 29.0.50; Setting Inconsolata up in init.el makes default face rendered wrong, Eli Zaretskii, 2021/12/17
- bug#52493: 29.0.50; Setting Inconsolata up in init.el makes default face rendered wrong, Dmitry Gutov, 2021/12/17
- bug#52493: 29.0.50; Setting Inconsolata up in init.el makes default face rendered wrong,
Eli Zaretskii <=
- bug#52493: 29.0.50; Setting Inconsolata up in init.el makes default face rendered wrong, Dmitry Gutov, 2021/12/17
- bug#52493: 29.0.50; Setting Inconsolata up in init.el makes default face rendered wrong, Eli Zaretskii, 2021/12/17
- bug#52493: 29.0.50; Setting Inconsolata up in init.el makes default face rendered wrong, Dmitry Gutov, 2021/12/17
- bug#52493: 29.0.50; Setting Inconsolata up in init.el makes default face rendered wrong, Eli Zaretskii, 2021/12/17
- bug#52493: 29.0.50; Setting Inconsolata up in init.el makes default face rendered wrong, martin rudalics, 2021/12/17
- 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