GNU bug report logs - #30553
26.0.91; underline appears beneath line-spacing rather than beneath text

Previous Next

Package: emacs;

Reported by: Aaron Jensen <aaronjensen <at> gmail.com>

Date: Tue, 20 Feb 2018 18:18:02 UTC

Severity: minor

Found in version 26.0.91

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Aaron Jensen <aaronjensen <at> gmail.com>
Cc: alptekin.aker <at> gmail.com, 30553 <at> debbugs.gnu.org
Subject: bug#30553: 26.0.91; underline appears beneath line-spacing rather than beneath text
Date: Wed, 21 Feb 2018 19:56:13 +0200
> From: Aaron Jensen <aaronjensen <at> gmail.com>
> Date: Wed, 21 Feb 2018 08:17:34 -0800
> Cc: Eli Zaretskii <eliz <at> gnu.org>, 30553 <at> debbugs.gnu.org
> 
> On Wed, Feb 21, 2018 at 5:47 AM, Alp Aker <alptekin.aker <at> gmail.com> wrote:
> > On Wed, Feb 21, 2018 at 1:03 AM, Aaron Jensen <aaronjensen <at> gmail.com> wrote:
> > Something like that should already be possible.  Underline placement is
> > determined by the following rules, considered in this order:
> >
> > 1. If x-underline-at-descent-line is non-nil, underline at the descent line,
> > where the descent line is the bottom of the current glyph row, inclusive of
> > extra line spacing.
> 
> I'm specifically talking about this rule. I am suggesting that this
> change to not include the extra line spacing. Typographically, I
> cannot think of a good reason to include the extra line spacing. It
> ends up putting the underline above the next line effectively, which
> looks terrible (see my original screenshots). Given that rule #3 you
> mention below uses half the descent, it seems like the full descent +
> 1px could be used for this, which would put the underline in a
> sensible place (probably the place it is today when line-spacing is
> nil).

Feel free to submit patches to introduce this as yet another optional
behavior.  We cannot just throw out the current behavior, because it
was with us since Emacs 21.

Note that this feature has 3 implementations, one each in every GUI
back-end we support.

Thanks.




This bug report was last modified 7 years and 77 days ago.

Previous Next


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