From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?UTF-8?Q?Cl=C3=A9ment?= Pit--Claudel Newsgroups: gmane.emacs.bugs Subject: bug#26958: Can we make wavy underlines scale like straight ones? Date: Tue, 16 May 2017 23:47:48 -0400 Message-ID: <2751b56b-c419-8ad9-c588-11186a86fb9e@live.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="t92oTSxqWn1Kkw1q5visDIquDuj0hIoXX" X-Trace: blaine.gmane.org 1494992955 18868 195.159.176.226 (17 May 2017 03:49:15 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 17 May 2017 03:49:15 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 To: 26958@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed May 17 05:49:10 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dApxU-0004iz-T4 for geb-bug-gnu-emacs@m.gmane.org; Wed, 17 May 2017 05:49:09 +0200 Original-Received: from localhost ([::1]:45316 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dApxa-0003zI-09 for geb-bug-gnu-emacs@m.gmane.org; Tue, 16 May 2017 23:49:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55789) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dApxT-0003yz-H3 for bug-gnu-emacs@gnu.org; Tue, 16 May 2017 23:49:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dApxO-00007g-Lx for bug-gnu-emacs@gnu.org; Tue, 16 May 2017 23:49:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:46729) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dApxO-00007Y-J6 for bug-gnu-emacs@gnu.org; Tue, 16 May 2017 23:49:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dApxO-00032x-EP for bug-gnu-emacs@gnu.org; Tue, 16 May 2017 23:49:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?Cl=C3=A9ment?= Pit--Claudel Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 17 May 2017 03:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 26958 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.149499289411652 (code B ref -1); Wed, 17 May 2017 03:49:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 17 May 2017 03:48:14 +0000 Original-Received: from localhost ([127.0.0.1]:49406 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dApwc-00031s-4f for submit@debbugs.gnu.org; Tue, 16 May 2017 23:48:14 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:36323) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dApwb-00031f-1F for submit@debbugs.gnu.org; Tue, 16 May 2017 23:48:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dApwU-0008FU-SD for submit@debbugs.gnu.org; Tue, 16 May 2017 23:48:07 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:33308) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dApwU-0008FO-Oa for submit@debbugs.gnu.org; Tue, 16 May 2017 23:48:06 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55525) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dApwQ-0003wM-RM for bug-gnu-emacs@gnu.org; Tue, 16 May 2017 23:48:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dApwN-0008E6-P2 for bug-gnu-emacs@gnu.org; Tue, 16 May 2017 23:48:02 -0400 Original-Received: from mout.kundenserver.de ([212.227.17.24]:62196) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dApwN-0008Cu-A5 for bug-gnu-emacs@gnu.org; Tue, 16 May 2017 23:47:59 -0400 Original-Received: from [18.189.18.195] ([18.189.18.195]) by mrelayeu.kundenserver.de (mreue104 [212.227.15.184]) with ESMTPSA (Nemesis) id 0MHYWy-1d9k0d2nca-003KcQ for ; Wed, 17 May 2017 05:47:55 +0200 X-Provags-ID: V03:K0:lIRUrmmOfgSOgh6Wxo6T3PZUvASwz1ZMKVZp3nR0dx+yWRZx5zv gj1qcugDZBfXi9o7o5pV//x6yY8mSQSzXY6cuPXmh+88JF0ed9FS/u26nffsn44ZC3v5F/A 2tFBT9vEoz7wRzSRxuN59iPpo/1uhjfeTnwZV0KlpfA0Lxi8ahTethaywfDEr8YimOIFcQy ShOCMMjdRjo74r+y3JCpA== X-UI-Out-Filterresults: notjunk:1;V01:K0:tbqvq5fKULQ=:RCzcaMNYgS5QNvaHFk9dKL zKpizdPStksDjjTtfaqeg6WWDAsnqvf0CdKH0S/PLeBHa6azS7PgFcLo1Cd1XmbWB9t9a/EFa 3tXFik54ovmV9/Jn1+POv2pArNasGBQaLO3+DXRAgLWv8OhTHOPq9upCsp7jmb4ihNgAAGhpw iqm56Ba8DkzXS9ovX0l4zy5prmzuzCS3i1u5DClOeum//1SXtC4uj6usuGsY3GQsc+O2hRkFf CCYsG6xaPtYU45bg3tkzSLLCcptHFESTIfJZ889KcbfASJ3aKviT1DC3wQrNr1zFStJUJrkbf ysYoZaTatKuchH85qNGvtDq8SoJjEzo6Z/Zm0BsuxyQvPQX8KdzXt1nfnhLonDWOtdAqjGcq5 gpLI+NRyagA5gwuL+qcEUZlwVbh8dQR38HOzLPrK+NtuzJi86FLt22Gp2s8EXVYB/unzVAkoB 9HZW4zY1PZmry+KnLEvvvDwoIk1tA6JxVVUAv43j3n15o0u6SlLc1gVdGP8N4kuJrogiTYfxb H+7W09mfgpWT1KLFlPDOA6/4tl6owo7G2pFB30n5vq3MEhra4QKA9u8HNLPpFBw43GpRSCPNs xXkP+y18JRxA5ZyCG6EYqXzyFzFqBfcift6S6SjQe4KaE/2wnIPu4mv25z/ECnqvx1T8zB5kE lftz55qwGWRLieKwesERbRmnLyP4XXLuwdC/fALVGDDFBCKGUcralWVg67uzYA5Aa/xc= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:132555 Archived-At: This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --t92oTSxqWn1Kkw1q5visDIquDuj0hIoXX Content-Type: multipart/mixed; boundary="7dHgNWqk04NpNNNWuJhVv7RlOF08mGu8P"; protected-headers="v1" From: =?UTF-8?Q?Cl=c3=a9ment_Pit--Claudel?= To: bug-gnu-emacs@gnu.org Message-ID: <2751b56b-c419-8ad9-c588-11186a86fb9e@live.com> Subject: Can we make wavy underlines scale like straight ones? --7dHgNWqk04NpNNNWuJhVv7RlOF08mGu8P Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi bug-gnu-emacs, Straight underlines get thicker when font size increases, but wavy underl= ines do not. The problem is particularly visible on hi-resolution displa= ys, where wavy underlines look really tiny. This problem can be observed = on all displays by running the following and pressing C-x C-=3D a few tim= es: (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.stackex= change.com/questions/24713/change-size-of-wavy-underlines-for-hidpi-displ= ays, https://www.reddit.com/r/emacs/comments/51wm7d/emacs_on_hidpi_displa= ys/). For xterm.c, the relevant function seems to be x_draw_underwave. Thanks! Cl=C3=A9ment. --7dHgNWqk04NpNNNWuJhVv7RlOF08mGu8P-- --t92oTSxqWn1Kkw1q5visDIquDuj0hIoXX Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJZG8fpAAoJEPqg+cTm90wjba4P/0cdmefVXb4/HRrulJQDtRWV OCMlTmJsR7xe39EH20CQ0BKM92hWNIckqfdI7y7Lg08k0fHdRZWUMqGDJeNUERfK rxa8+9VLCYhsmPX1TSucpoWpcUnxe9dCQZpC25kP1BTz2ouROzhLQGqsX7p7+rl3 UsUeTPGg2tD4ahOaTiaGKTEDbmw8PBuFs6PFMEKCYte6a6bxT4toPdnkN9WEVtlQ /aBw8W3GT1Y6V84TZC7hQP/tXknzoqq9tGZH3BEeMMlh1l3EpA2tdlJrIpmtxai/ my3zibJtUQ5rXmjiG0dbjtQNTESJ/HBpEW2aKaILBQ+0YF7/QawO/jn1FthSW5+N aziAsdjVEfcfWsp+wQrLPJTzS9YidSmBW2mpiekyLO6rW4EiUeCVxzfNhOo3z4Td lEALHptObdPY8ZaN0AEuFD5dgBgKM8+K2phCJmi5Kgt51kSwzzUpRxcZR0Gb7ZIJ I1dY5X5z1zXOTi1cAzfii2gUXS/h0fjWMf4WWM/pBfYOFUlPAa5GNkVsLBZhCyNi A9jdLi+ps9/AAppaWfcvCSNBNlIU+hjLOvAJLxYFOzFriHdF+fBT4+ZfTaABTQ+k z3aWvh28dwKVGYknXyGwHkAHreSwsjMhEFuIq8Xc43LCZgHQST9bELz/+BHsOF9f AFbFznB3Y1gkFtnVNqwx =OgGw -----END PGP SIGNATURE----- --t92oTSxqWn1Kkw1q5visDIquDuj0hIoXX--