GNU bug report logs - #64270
30.0.50; Font update for no toolkit menu

Previous Next

Package: emacs;

Reported by: Manuel Giraud <manuel <at> ledu-giraud.fr>

Date: Sat, 24 Jun 2023 17:01:02 UTC

Severity: normal

Found in version 30.0.50

Fixed in version 30.1

Done: Manuel Giraud <manuel <at> ledu-giraud.fr>

Bug is archived. No further changes may be made.

Full log


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

From: Robert Pluim <rpluim <at> gmail.com>
To: Manuel Giraud <manuel <at> ledu-giraud.fr>
Cc: Po Lu <luangruo <at> yahoo.com>, 64270 <at> debbugs.gnu.org
Subject: Re: bug#64270: 30.0.50; Font update for no toolkit menu
Date: Tue, 27 Jun 2023 10:37:30 +0200
>>>>> On Tue, 27 Jun 2023 15:48:29 +0800, Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org> said:
    >> Ah then I have a bug in Emacs' XLFD generation on my system.  Here is
    >> what I get with 'C-u C-x =':
    >> 
    >> ftcrhb:-Misc-Fixed-regular-normal-normal-*-18-*-*-*-c-90-iso10646-1 (#x59)

    Po Lu> ``XLFD'' strings generated by Emacs aren't guaranteed to be
    Po Lu> X11-compatible; Emacs is only designed to read them.  I don't remember
    Po Lu> whether or not this is intentional, so you will have to ask Kenichi
    Po Lu> Handa, but I have a sinking suspicion that he is not around anymore...

For at least 15 years prior to Larsʼ changes to support 'medium'
fonts, that would have returned

ftcrhb:-Misc-Fixed-medium-normal-normal-*-18-*-*-*-c-90-iso10646-1 (#x59)

Itʼs easy enough to get that back, if we want.

diff --git a/src/font.c b/src/font.c
index de8748dd857..814a4810a24 100644
--- a/src/font.c
+++ b/src/font.c
@@ -72,7 +72,7 @@ #define DEFAULT_ENCODING Qiso8859_1
   { 40, { "ultra-light", "ultralight", "extra-light", "extralight" }},
   { 50, { "light" }},
   { 55, { "semi-light", "semilight", "demilight" }},
-  { 80, { "regular", "normal", "unspecified", "book" }},
+  { 80, { "normal", "regular", "unspecified", "book" }},
   { 100, { "medium" }},
   { 180, { "semi-bold", "semibold", "demibold", "demi-bold", "demi" }},
   { 200, { "bold" }},


Robert
-- 




This bug report was last modified 1 year and 323 days ago.

Previous Next


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