unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stephen Berman <Stephen.Berman@gmx.net>
To: emacs-devel@gnu.org
Subject: Re: Bad drawing of xft fonts overlapping box cursor
Date: Mon, 18 Feb 2008 01:36:59 +0100	[thread overview]
Message-ID: <87zltzdrro.fsf@escher.local.home> (raw)
In-Reply-To: yoijpruv9upa.fsf_-_@remote2.student.chalmers.se

On Sun, 17 Feb 2008 21:47:13 +0100 bojohan+news@dd.chalmers.se (Johan Bockgård) wrote:

> In some fonts certain characters can produce overlaps with the box
> cursor.  This leads to uglily drawn characters.
>
>     emacs -Q -xrm \
>       'emacs*font: bitstream vera sans mono:pixelsize=17
>        Xft.hintstyle: hintmedium' \
>       -fg white -bg black -cr green
>
>     (progn
>       (switch-to-buffer "*test*")
>       (insert "W\nW\nW")
>       (dotimes (_ 50)
>         (redisplay)
>         (goto-char 4)
>         (redisplay)
>         (goto-char 6)))
>
> It looks like what happens is that each time the cursor is placed next
> to the problematic character another copy of the character is drawn.
> For antialiased fonts this produces the effect that the half transparent
> pixels become more and more solid.

When I try this I do not see any difference in the "W"s.  I also tried
with 500 repetitions and I magnified the screen display, but all three
characters look identical.  This is on GNU Emacs 23.0.60.5
(i686-pc-linux-gnu, GTK+ Version 2.12.0) of 2008-02-14 on escher running
under openSUSE 10.3.

Steve Berman





  reply	other threads:[~2008-02-18  0:36 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-11 15:47 23.0.60; broken mouse-face highlighting in Gnus Stephen Berman
2008-02-16 23:56 ` 23.0.60; Deja vu font breaks " Stephen Berman
2008-02-17  0:40   ` Johan Bockgård
2008-02-17 13:07     ` Stephen Berman
2008-02-17 20:25       ` Johan Bockgård
2008-02-17 20:47         ` Bad drawing of xft fonts overlapping box cursor Johan Bockgård
2008-02-18  0:36           ` Stephen Berman [this message]
2008-02-18  0:58             ` Jason Rumney
2008-02-18  0:36         ` 23.0.60; Deja vu font breaks mouse-face highlighting in Gnus Stephen Berman
2008-02-18  1:12           ` Johan Bockgård

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=87zltzdrro.fsf@escher.local.home \
    --to=stephen.berman@gmx.net \
    --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).