From: Chong Yidong <cyd@stupidchicken.com>
To: emacs-devel@gnu.org
Subject: Re: "Bold" effect when anti-aliased glyphs are overwritten
Date: Tue, 27 May 2008 17:09:29 -0400 [thread overview]
Message-ID: <87mymb4fp2.fsf@stupidchicken.com> (raw)
In-Reply-To: <87ve0zmy8p.fsf@stupidchicken.com> (Chong Yidong's message of "Tue, 27 May 2008 13:51:34 -0400")
Chong Yidong <cyd@stupidchicken.com> writes:
> I've been noticing that glyphs near the cursor occasionally become
> "bold" for no reason.
>
> The reason this happens is that when the redisplay engine calls
> draw_glyphs to draw certain glyphs, such as the cursor glyph,
> neighboring glyphs are redrawn if there is a left or right overhang
> (xdisp.c:19929).
>
> With anti-aliasing, it doesn't work well. Apparently, during the
> anti-aliasing calculation, the entire existing glyph---including the
> glyph foreground---is treated as the "background". Thus, the
> anti-aliased parts of the foreground character becomes more and more
> prominent, and eventually saturates completely.
I've checked in a fix into CVS. Please let me know if it causes any
problems.
next prev parent reply other threads:[~2008-05-27 21:09 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-27 17:51 "Bold" effect when anti-aliased glyphs are overwritten Chong Yidong
2008-05-27 21:09 ` Chong Yidong [this message]
2008-05-28 8:49 ` Stephen Berman
2008-05-27 21:18 ` Jason Rumney
2008-05-27 21:21 ` Chong Yidong
2008-05-28 2:21 ` Kenichi Handa
2008-05-28 0:30 ` Kenichi Handa
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87mymb4fp2.fsf@stupidchicken.com \
--to=cyd@stupidchicken.com \
--cc=emacs-devel@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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).