From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#30609: 26.0.91; underline should be drawn behind text Date: Mon, 26 Feb 2018 17:44:56 +0200 Message-ID: <83woyz21s7.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1519659850 29678 195.159.176.226 (26 Feb 2018 15:44:10 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 26 Feb 2018 15:44:10 +0000 (UTC) Cc: 30609@debbugs.gnu.org To: Aaron Jensen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Feb 26 16:44:06 2018 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 1eqKwg-0007NO-2G for geb-bug-gnu-emacs@m.gmane.org; Mon, 26 Feb 2018 16:44:06 +0100 Original-Received: from localhost ([::1]:59817 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eqKyi-0003Jx-9K for geb-bug-gnu-emacs@m.gmane.org; Mon, 26 Feb 2018 10:46:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45247) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eqKyb-0003JJ-FC for bug-gnu-emacs@gnu.org; Mon, 26 Feb 2018 10:46:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eqKyY-0005xI-U3 for bug-gnu-emacs@gnu.org; Mon, 26 Feb 2018 10:46:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:53990) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eqKyY-0005x7-PD for bug-gnu-emacs@gnu.org; Mon, 26 Feb 2018 10:46:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eqKyY-0003oq-F0 for bug-gnu-emacs@gnu.org; Mon, 26 Feb 2018 10:46:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 26 Feb 2018 15:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30609 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 30609-submit@debbugs.gnu.org id=B30609.151965990614614 (code B ref 30609); Mon, 26 Feb 2018 15:46:02 +0000 Original-Received: (at 30609) by debbugs.gnu.org; 26 Feb 2018 15:45:06 +0000 Original-Received: from localhost ([127.0.0.1]:33654 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eqKxd-0003nd-Qu for submit@debbugs.gnu.org; Mon, 26 Feb 2018 10:45:06 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:53872) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eqKxZ-0003mq-Mf for 30609@debbugs.gnu.org; Mon, 26 Feb 2018 10:45:02 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eqKxS-0005FE-1k for 30609@debbugs.gnu.org; Mon, 26 Feb 2018 10:44:56 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:45809) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eqKxR-0005F8-UL; Mon, 26 Feb 2018 10:44:53 -0500 Original-Received: from [176.228.60.248] (port=4455 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1eqKxR-0007Kz-9Q; Mon, 26 Feb 2018 10:44:53 -0500 In-reply-to: (message from Aaron Jensen on Sun, 25 Feb 2018 15:05:29 -0800) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:143668 Archived-At: > From: Aaron Jensen > Date: Sun, 25 Feb 2018 15:05:29 -0800 > > I don't know if it's true on all platforms, but at least on the mac the > text decorations (like underlines) are drawn after the glyph causing > them to overlap the descenders. Typically underlines are drawn behind > the characters as they are less important than the characters > themselves. > I'd be happy to submit a patch to change the order if no one sees a problem with this. I'm far from being an expert in this area, but AFAICT, such a change could cause the underline to become partially or even fully invisible, at least in some situations. For example, if the underline is to be drawn below one or more images, or some special characters, or what we use to display characters with no font. That's because we sometimes clear the entire character cell with the background color before drawing the foreground, and that would erase the part of the underline below that cell. Right?