GNU bug report logs -
#26958
Can we make wavy underlines scale like straight ones?
Previous Next
Full log
View this message in rfc822 format
> From: Clément Pit--Claudel <clement.pitclaudel <at> live.com>
> Date: Tue, 16 May 2017 23:47:48 -0400
>
> Straight underlines get thicker when font size increases
That's not really accurate, see my other messages.
> 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.
How about sending a patch?
But I suggest to read about the related complications first, because I
think this issue is not as simple as it sounds.
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.