all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: "Clément Pit--Claudel" <clement.pitclaudel@live.com>
Cc: 26958@debbugs.gnu.org
Subject: bug#26958: Can we make wavy underlines scale like straight ones?
Date: Wed, 17 May 2017 18:23:16 +0300	[thread overview]
Message-ID: <83inkz5wyj.fsf@gnu.org> (raw)
In-Reply-To: <2751b56b-c419-8ad9-c588-11186a86fb9e@live.com> (message from Clément Pit--Claudel on Tue, 16 May 2017 23:47:48 -0400)

> From: Clément Pit--Claudel <clement.pitclaudel@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.





  parent reply	other threads:[~2017-05-17 15:23 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83inkz5wyj.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=26958@debbugs.gnu.org \
    --cc=clement.pitclaudel@live.com \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.