GNU bug report logs - #50660
28.0.50; Text artifacting when the cursor moves over text under mouse face that originally displayed a box

Previous Next

Package: emacs;

Reported by: Po Lu <luangruo <at> yahoo.com>

Date: Sat, 18 Sep 2021 12:24:01 UTC

Severity: normal

Found in version 28.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Po Lu <luangruo <at> yahoo.com>
Cc: 50660 <at> debbugs.gnu.org
Subject: Re: 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 15:25:56 +0300
> From: Po Lu <luangruo <at> yahoo.com>
> Cc: 50660 <at> debbugs.gnu.org
> Date: Sat, 16 Oct 2021 20:12:55 +0800
> 
> The problem occurs when (adjusted_mouse_face)->font has different
> metrics from the font originally used to display each glyph.
> 
> (For instance, if mouse face is `highlight' but the original face was
> `custom-group-tag', which is variable pitch and has a much larger font
> size than `highlight')

That's a separate problem, which exists in the current code as well,
doesn't it?

The only solution to that is to merge the mouse-face with the original
face, ignoring the attributes of mouse-face that affect the text size,
as documented in the ELisp manual.




This bug report was last modified 3 years and 275 days ago.

Previous Next


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