From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jason Rumney Newsgroups: gmane.emacs.devel Subject: Re: Bad drawing of xft fonts overlapping box cursor Date: Mon, 18 Feb 2008 00:58:28 +0000 Message-ID: <47B8D834.4050303@gnu.org> References: <87fxvzsdf3.fsf@escher.local.home> <87skzs1mlz.fsf@escher.local.home> <87d4qvpw7o.fsf@escher.local.home> <87zltzdrro.fsf@escher.local.home> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1203296330 7073 80.91.229.12 (18 Feb 2008 00:58:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 18 Feb 2008 00:58:50 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stephen Berman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 18 01:59:14 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JQuLh-0002Fw-OE for ged-emacs-devel@m.gmane.org; Mon, 18 Feb 2008 01:59:14 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JQuLD-0007BV-MB for ged-emacs-devel@m.gmane.org; Sun, 17 Feb 2008 19:58:43 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JQuL9-0007AN-8y for emacs-devel@gnu.org; Sun, 17 Feb 2008 19:58:39 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JQuL7-000788-Cb for emacs-devel@gnu.org; Sun, 17 Feb 2008 19:58:38 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JQuL7-000785-6A for emacs-devel@gnu.org; Sun, 17 Feb 2008 19:58:37 -0500 Original-Received: from mk-outboundfilter-4.mail.uk.tiscali.com ([212.74.114.32]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JQuL6-0004IW-EV for emacs-devel@gnu.org; Sun, 17 Feb 2008 19:58:36 -0500 Original-X-Trace: 7796798/mk-outboundfilter-2.mail.uk.tiscali.com/F2S/$ACCEPTED/freedom2Surf-customers/83.67.23.108 X-SBRS: None X-RemoteIP: 83.67.23.108 X-IP-MAIL-FROM: jasonr@gnu.org X-IP-BHB: Once X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ah4FAIpmuEdTQxds/2dsb2JhbAAIjDOeBQ X-IronPort-AV: E=McAfee;i="5200,2160,5231"; a="7796798" X-IronPort-AV: E=Sophos;i="4.25,368,1199664000"; d="scan'208";a="7796798" X-IP-Direction: OUT Original-Received: from i-83-67-23-108.freedom2surf.net (HELO [127.0.0.1]) ([83.67.23.108]) by smtp.f2s.tiscali.co.uk with ESMTP/TLS/DHE-RSA-AES256-SHA; 18 Feb 2008 00:58:35 +0000 User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) In-Reply-To: <87zltzdrro.fsf@escher.local.home> X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:89429 Archived-At: 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. > When investigating whether the new font backend had made a particular cursor display bug on Windows disappear a few months back, I noticed that the old font code is still used for drawing box cursors. As far as I could tell, that was the case on all platforms. I didn't get a response to the mail where I mentioned it, so I don't know whether it is an oversight or a known TODO, and whether it has since been fixed. It might be worth setting a breakpoint in the box cursor drawing code in xterm.c and see if it is hit, and how it ends up drawing the text.