[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#26958: Can we make wavy underlines scale like straight ones?
From: |
Clément Pit--Claudel |
Subject: |
bug#26958: Can we make wavy underlines scale like straight ones? |
Date: |
Tue, 16 May 2017 23:47:48 -0400 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 |
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
Description: OpenPGP digital signature
- bug#26958: Can we make wavy underlines scale like straight ones?,
Clément Pit--Claudel <=