From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#26958: Can we make wavy underlines scale like straight ones? Date: Tue, 16 May 2017 21:14:24 -0700 (PDT) Message-ID: <0f5ba7d0-ab89-448c-969f-cdfc6bd0ef50@default> References: <2751b56b-c419-8ad9-c588-11186a86fb9e@live.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1494994521 5941 195.159.176.226 (17 May 2017 04:15:21 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 17 May 2017 04:15:21 +0000 (UTC) To: =?UTF-8?Q?Cl=C3=A9ment?= Pit--Claudel , 26958@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed May 17 06:15:11 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 1dAqMf-0001GC-6m for geb-bug-gnu-emacs@m.gmane.org; Wed, 17 May 2017 06:15:09 +0200 Original-Received: from localhost ([::1]:45408 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dAqMj-0002qD-35 for geb-bug-gnu-emacs@m.gmane.org; Wed, 17 May 2017 00:15:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33448) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dAqMc-0002oJ-U3 for bug-gnu-emacs@gnu.org; Wed, 17 May 2017 00:15:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dAqMY-00021j-VU for bug-gnu-emacs@gnu.org; Wed, 17 May 2017 00:15:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:46739) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dAqMY-00021d-Rd for bug-gnu-emacs@gnu.org; Wed, 17 May 2017 00:15:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dAqMY-0003fK-Ce for bug-gnu-emacs@gnu.org; Wed, 17 May 2017 00:15:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 17 May 2017 04:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26958 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 26958-submit@debbugs.gnu.org id=B26958.149499447514036 (code B ref 26958); Wed, 17 May 2017 04:15:02 +0000 Original-Received: (at 26958) by debbugs.gnu.org; 17 May 2017 04:14:35 +0000 Original-Received: from localhost ([127.0.0.1]:49416 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dAqM7-0003eK-C3 for submit@debbugs.gnu.org; Wed, 17 May 2017 00:14:35 -0400 Original-Received: from userp1040.oracle.com ([156.151.31.81]:44848) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dAqM5-0003e5-OO for 26958@debbugs.gnu.org; Wed, 17 May 2017 00:14:34 -0400 Original-Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id v4H4EQhk014274 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 17 May 2017 04:14:27 GMT Original-Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by userv0021.oracle.com (8.14.4/8.14.4) with ESMTP id v4H4EQ56027067 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 17 May 2017 04:14:26 GMT Original-Received: from abhmp0014.oracle.com (abhmp0014.oracle.com [141.146.116.20]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id v4H4EQgQ020471; Wed, 17 May 2017 04:14:26 GMT In-Reply-To: <2751b56b-c419-8ad9-c588-11186a86fb9e@live.com> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 12.0.6767.5000 (x86)] X-Source-IP: userv0021.oracle.com [156.151.31.71] 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:132556 Archived-At: > 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-=3D = a few > times: >=20 > (font-lock-mode -1) > (insert (propertize "AAAAA" 'face '(:underline (:style line))) > "\n" (propertize "AAAAA" 'face '(:underline (:style wave)))) FWIW, on Windows I see neither straight nor wavy underline thicken. They both continue to have the same line width (thickness) when text-scaled. Should they not stay the same? Should they thicken? Why? I'm not on a "highdpi", I imagine. But why should that make difference as to whether an underline should change thickness as the text is scaled? What about :overline? It has no :wavy property, but should it too thicken when the text is scaled up? And :box? :box has a :line-width property. Is that relevant here? What should the behavior be for :box? What should it be for attributes such as :underline or :overline or :strike-through, which don't have a :line-width property? It doesn't seem as if the right design is obvious. Note that the first URL you cite does not ask necessarily for the wavy underline to scale. It explicitly asks about customizing to specify the line width. Maybe that's what the enhancement request should be: provide :line-width for :underline, like we do for :box. And perhaps for :overline and :strike-through? The first question is whether such line widths should respond to scaling. Dunno.