[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 23.0.60; Deja vu font breaks mouse-face highlighting in Gnus
From: |
Johan Bockgård |
Subject: |
Re: 23.0.60; Deja vu font breaks mouse-face highlighting in Gnus |
Date: |
Sun, 17 Feb 2008 01:40:58 +0100 |
User-agent: |
Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.50 (gnu/linux) |
Stephen Berman <address@hidden> writes:
> Other Dejavu fonts also show the gap in highlighting, but the range of
> susceptible strings seems to be less than with Dejavu Sans Mono. I
> have tried using a number of other fonts but so far haven't found any
> others that show the display problem.
The problem happens for characters that stick out of their box. It is
most noticeable with an italic font.
E.g. try
(font-lock-mode 0)
(insert (propertize "XXXXXX" 'face 'italic 'mouse-face 'highlight))
The responsible code is this part in `draw_glyphs':
/* If there are any glyphs with lbearing < 0 or rbearing > width in
the row, redraw some glyphs in front or following the glyph
strings built above. */
if (head && !overlaps && row->contains_overlapping_glyphs_p)
{
...
--
Johan Bockgård
- 23.0.60; broken mouse-face highlighting in Gnus, Stephen Berman, 2008/02/11
- Re: 23.0.60; Deja vu font breaks mouse-face highlighting in Gnus, Stephen Berman, 2008/02/16
- Re: 23.0.60; Deja vu font breaks mouse-face highlighting in Gnus,
Johan Bockgård <=
- Re: 23.0.60; Deja vu font breaks mouse-face highlighting in Gnus, Stephen Berman, 2008/02/17
- Re: 23.0.60; Deja vu font breaks mouse-face highlighting in Gnus, Johan Bockgård, 2008/02/17
- Bad drawing of xft fonts overlapping box cursor, Johan Bockgård, 2008/02/17
- Re: Bad drawing of xft fonts overlapping box cursor, Stephen Berman, 2008/02/17
- Re: Bad drawing of xft fonts overlapping box cursor, Jason Rumney, 2008/02/17
- Re: 23.0.60; Deja vu font breaks mouse-face highlighting in Gnus, Stephen Berman, 2008/02/17
- Re: 23.0.60; Deja vu font breaks mouse-face highlighting in Gnus, Johan Bockgård, 2008/02/17