emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: master 84bf954 2/2: Use a proportional font for the mode line


From: Robert Pluim
Subject: Re: master 84bf954 2/2: Use a proportional font for the mode line
Date: Thu, 25 Nov 2021 18:58:41 +0100

>>>>> On Thu, 25 Nov 2021 18:40:08 +0100, Lars Ingebrigtsen <larsi@gnus.org> 
>>>>> said:

    Lars> Robert Pluim <rpluim@gmail.com> writes:
    >> now shows only the lisp expression for the mode-line face. Iʼve fixed
    >> this one, but the default face has the same issue, so Iʼm going to
    >> assume you changed something there too :-)

    Lars> Nope; haven't touched the default face.

Oh yes you have. </panto>

The following patch fixes it, otherwise the :weight shows up as
"regular", which I guess customize doesnʼt like.

diff --git a/src/font.c b/src/font.c
index d423fd46b7..0cedb230c8 100644
--- a/src/font.c
+++ b/src/font.c
@@ -70,7 +70,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" }},



reply via email to

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