GNU bug report logs - #57962
29.0.50; Odd font choices

Previous Next

Package: emacs;

Reported by: Lars Ingebrigtsen <larsi <at> gnus.org>

Date: Tue, 20 Sep 2022 22:17:01 UTC

Severity: normal

Found in version 29.0.50

Full log


Message #53 received at 57962 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: luangruo <at> yahoo.com, 57962 <at> debbugs.gnu.org
Subject: Re: bug#57962: 29.0.50; Odd font choices
Date: Sun, 16 Oct 2022 12:58:18 +0200
I've poked around some more here, experimenting with different fonts
with -fn, and the thing is that everything works as expected with most
fonts (i.e., the height of `fixed-pitch' and `default' fonts are the
same, which is the problem, really) -- but with the default font in
Ubuntu, "Ubuntu Mono", that's not the case.

So Emacs has chosen these two fonts for `default' and `fixed-pitch',
respectively:

    ftcrhb:-DAMA-Ubuntu Mono-regular-normal-normal-*-48-*-*-*-m-0-iso10646-1 (#x2C)
    ftcrhb:-PfEd-DejaVu Sans Mono-regular-normal-normal-*-48-*-*-*-m-0-iso10646-1 (#x26)

Is there something more Emacs could be doing to try to ensure that it
picks equal-sized fonts?  By somehow looking at actual font metrics?  (I
guess we're currently just saying "give me this font in size 48"?  And
that the actual size of the glyphs may vary between fonts?)





This bug report was last modified 2 years and 241 days ago.

Previous Next


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