emacs-devel
[Top][All Lists]
Advanced

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

Re: Incorrect font weight selected


From: Eli Zaretskii
Subject: Re: Incorrect font weight selected
Date: Mon, 20 Dec 2021 17:16:07 +0200

> From: Yuri D'Elia <wavexx@thregr.org>
> Cc: emacs-devel@gnu.org
> Date: Mon, 20 Dec 2021 00:24:20 +0100
> 
> Note how both frames are now bold. Please note the mode-line face as
> well. I'm not changing the face there. The incorrect weight selection is
> also affecting the face there.
> 
> Indeed, it seems that any font weight which is within "100" in the
> weight table can be susceptible to bad selection. Commit
> 1b2511fa2aed460120a36765ba16c14e355eef1d by itself makes sense. We
> likely have a problem elsewhere.
> 
> Maybe font_sort_entities is not sorting the matches correctly by weight,
> or we are calling it wrong in some places.
> 
> Cannot go further at the moment.

Thanks, I think you are getting closer to the root cause.  Please keep
going.

I'm not wedded to the change in 1b2511f: it was originally concocted
for MS-Windows, so maybe it is not right for Fontconfig-based
platforms.



reply via email to

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