GNU bug report logs - #26958
Can we make wavy underlines scale like straight ones?

Previous Next

Package: emacs;

Reported by: Clément Pit--Claudel <clement.pitclaudel <at> live.com>

Date: Wed, 17 May 2017 03:49:02 UTC

Severity: wishlist

Full log


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

From: Clément Pit--Claudel <clement.pitclaudel <at> live.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Can we make wavy underlines scale like straight ones?
Date: Tue, 16 May 2017 23:47:48 -0400
[Message part 1 (text/plain, inline)]
Hi bug-gnu-emacs,

Straight underlines get thicker when font size increases, but wavy underlines do not.  The problem is particularly visible on hi-resolution displays, where wavy underlines look really tiny. This problem can be observed on all displays by running the following and pressing C-x C-= a few times:

(font-lock-mode -1)
(insert (propertize "AAAAA" 'face '(:underline (:style line)))
        "\n" (propertize "AAAAA" 'face '(:underline (:style wave))))

I've seen the problem mentioned a few times online (https://emacs.stackexchange.com/questions/24713/change-size-of-wavy-underlines-for-hidpi-displays, https://www.reddit.com/r/emacs/comments/51wm7d/emacs_on_hidpi_displays/).

For xterm.c, the relevant function seems to be x_draw_underwave.

Thanks!
Clément.

[signature.asc (application/pgp-signature, attachment)]

This bug report was last modified 8 years and 28 days ago.

Previous Next


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