[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Mouse highlighting and fonts
From: |
Johan Bockgård |
Subject: |
Re: Mouse highlighting and fonts |
Date: |
Tue, 27 May 2008 10:58:23 +0200 |
User-agent: |
Gnus/5.110009 (No Gnus v0.9) Emacs/23.0.60 (gnu/linux) |
Chong Yidong <address@hidden> writes:
> Chong Yidong <address@hidden> writes:
>
>> when the cursor glyph has a nonzero lbearing or rbearing (i.e., it
>> overlaps with its neighbors), the neighboring glyphs are redrawn, and
>> this can overwrite the mouse-face highlight. See xdisp.c:19934.
>
> According to the comments, this code is supposed to redraw glyphs that
> are overwritten because of the left/right overhang of the specified
> glyph string. But I've never noticed overlapping glyphs in Emacs.
> Under what circumstances can overlapping glyphs occur?
See the thread pointed to by Stephen,
http://thread.gmane.org/gmane.emacs.devel/88763
> In other words, would there be any effect from simply turning off the
> overlap-compensation code, as indicated? Anyone know?
I had quite good results from adding `&& hl == DRAW_NORMAL_TEXT' to the
conditional.
--
Johan Bockgård