GNU bug report logs - #20510
25.0.50; Underscore hidden by underline

Previous Next

Package: emacs;

Reported by: Fabrice Niessen <fni-news <at> pirilampo.org>

Date: Tue, 5 May 2015 20:14:02 UTC

Severity: minor

Tags: wontfix

Found in version 25.0.50

Done: Stefan Kangas <stefan <at> marxist.se>

Bug is archived. No further changes may be made.

Full log


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Fabrice Niessen <fni-news <at> pirilampo.org>
Cc: 20510 <at> debbugs.gnu.org
Subject: Re: bug#20510: 25.0.50; Underscore hidden by underline
Date: Wed, 06 May 2015 20:13:11 +0300
> From: Fabrice Niessen <fni-news <at> pirilampo.org>
> Date: Tue, 05 May 2015 22:13:14 +0200
> 
> When `hl-line' is enabled with the `underline' attribute, and when the
> font is "DejaVu Sans Mono" in 8 pt, then underscores get overridden by
> the underline (of the current, highlighted, line).

Well, the underline _must_ overwrite _some_ part of the character.

> Screenshot: http://screencast.com/t/UXoET9RHs0E.
> 
> Is this normal

Yes, this is how the code was written to work.

> (while this does not occur with 9 or 10 pt faces)?

It depends on the font, yes.

You can try tweaking the value of x-use-underline-position-properties
and/or of x-underline-at-descent-line, they might fix your problem
with this font.

> If yes, is there a way to get the hl-line's underline in the background?

Not sure what you mean by that.




This bug report was last modified 5 years and 231 days ago.

Previous Next


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