all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Aaron Jensen <aaronjensen@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 30609@debbugs.gnu.org
Subject: bug#30609: 26.0.91; underline should be drawn behind text
Date: Mon, 26 Feb 2018 13:10:06 -0800	[thread overview]
Message-ID: <CAHyO48xq5EFZ+PszxH8uwr2apV0vZ9_dvda0_G=BoCJk37o2FA@mail.gmail.com> (raw)
In-Reply-To: <83vaej21qa.fsf@gnu.org>

On Mon, Feb 26, 2018 at 7:46 AM, Eli Zaretskii <eliz@gnu.org> wrote:
> Yes, this is what I feared, and that's why I think simply switching
> the order will not give good results.

I may be able to move the text decoration code to the font drawing,
but text decoration is done for more than fonts, so that could result
in some duplication or nsterm referencing nsfont which would then
reference nsterm. If that's ok, I can look into that.

The other option would be to move the background drawing code out of
the font rendering. I don't know all of the places that it is done, so
that may be cumbersome.

One other, completely different idea that may not work or may be
really slow would be to do a color replacement--only replacing pixels
that match the background color with the underline color. I have no
idea if reading from the canvas in this way is slow. This would end up
giving a similar effect to text-decoration-skip.





  reply	other threads:[~2018-02-26 21:10 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-25 23:05 bug#30609: 26.0.91; underline should be drawn behind text Aaron Jensen
2018-02-26  3:46 ` Aaron Jensen
2018-02-26 15:46   ` Eli Zaretskii
2018-02-26 21:10     ` Aaron Jensen [this message]
2018-02-26 21:38       ` Alan Third
2018-02-26 15:44 ` 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='CAHyO48xq5EFZ+PszxH8uwr2apV0vZ9_dvda0_G=BoCJk37o2FA@mail.gmail.com' \
    --to=aaronjensen@gmail.com \
    --cc=30609@debbugs.gnu.org \
    --cc=eliz@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 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.