emacs-devel
[Top][All Lists]
Advanced

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

Re: Incorrect font weight selected


From: Lars Ingebrigtsen
Subject: Re: Incorrect font weight selected
Date: Mon, 20 Dec 2021 11:34:20 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Yuri D'Elia <wavexx@thregr.org> writes:

> Notice how I'm using "bold" now, but the resulting face in the new frame
> is still just regular. Turns out medium has nothing to do with this.

I can reproduce this behaviour on the current trunk, too.

> 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.

Sounds like it.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no



reply via email to

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