unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#26958: Can we make wavy underlines scale like straight ones?
@ 2017-05-17  3:47 Clément Pit--Claudel
  2017-05-17  4:14 ` Drew Adams
  2017-05-17 15:23 ` Eli Zaretskii
  0 siblings, 2 replies; 6+ messages in thread
From: Clément Pit--Claudel @ 2017-05-17  3:47 UTC (permalink / raw)
  To: 26958


[-- Attachment #1.1: Type: text/plain, Size: 793 bytes --]

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.


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-05-19  7:18 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-17  3:47 bug#26958: Can we make wavy underlines scale like straight ones? Clément Pit--Claudel
2017-05-17  4:14 ` Drew Adams
2017-05-17  4:36   ` Clément Pit--Claudel
2017-05-17 15:23 ` Eli Zaretskii
2017-05-17 19:38   ` Clément Pit--Claudel
2017-05-19  7:18     ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).