Subject: Re: bug#20510: 25.0.50; Underscore hidden by underline

From: Eli Zaretskii <[email-masked]>
Date: Wed, 06 May 2015 20:13:11 +0300

> From: Fabrice Niessen <[email-masked]>
> 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.