From: "Clément Pit--Claudel" <clement.pitclaudel@live.com>
To: 26958@debbugs.gnu.org
Subject: bug#26958: Can we make wavy underlines scale like straight ones?
Date: Tue, 16 May 2017 23:47:48 -0400 [thread overview]
Message-ID: <2751b56b-c419-8ad9-c588-11186a86fb9e@live.com> (raw)
[-- 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 --]
next reply other threads:[~2017-05-17 3:47 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-17 3:47 Clément Pit--Claudel [this message]
2017-05-17 4:14 ` bug#26958: Can we make wavy underlines scale like straight ones? 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2751b56b-c419-8ad9-c588-11186a86fb9e@live.com \
--to=clement.pitclaudel@live.com \
--cc=26958@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).