|
From: | Po Lu |
Subject: | bug#50660: 28.0.50; Text artifacting when the cursor moves over text under mouse face that originally displayed a box |
Date: | Sat, 16 Oct 2021 08:18:25 +0800 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Eli Zaretskii <eliz@gnu.org> writes: > This part doesn't look right to me: FACE_FOR_CHAR could potentially > yield a face with a different font, but the glyph codes in the glyph > string will reference the previous font, because > get_glyph_face_and_encoding was called before the face was changed. But now that I think of it, what if the original font has different metrics than the mouse face? In that case, shouldn't s->font be the original font and not the font of the mouse face? Thanks. > Also, why did you not follow the more cautious code of xterm.c: > FACE_FROM_ID can abort if the face is not in the face cache. Thanks.
[Prev in Thread] | Current Thread | [Next in Thread] |