From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Jan D." Newsgroups: gmane.emacs.devel Subject: Re: Antialiased text on X11 Date: Tue, 29 Mar 2005 21:28:30 +0200 Message-ID: <4249AC5E.3030709@swipnet.se> References: <20050310231530.GH3992@boetes.org> <871xab1u3d.fsf-monnier+emacs@gnu.org> <423DFE79.2030004@swipnet.se> <7099f9bab5d23e8daa7f4918a6a201a9@swipnet.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1112124914 26712 80.91.229.2 (29 Mar 2005 19:35:14 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 29 Mar 2005 19:35:14 +0000 (UTC) Cc: Miles Bader , Emacs-Devel Devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Mar 29 21:35:11 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DGMTs-00060q-UM for ged-emacs-devel@m.gmane.org; Tue, 29 Mar 2005 21:34:29 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DGMkC-00015g-Sk for ged-emacs-devel@m.gmane.org; Tue, 29 Mar 2005 14:51:20 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DGMiL-0000Rw-Gc for emacs-devel@gnu.org; Tue, 29 Mar 2005 14:49:25 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DGMiF-0000Or-46 for emacs-devel@gnu.org; Tue, 29 Mar 2005 14:49:21 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DGMiE-0000Ne-HJ for emacs-devel@gnu.org; Tue, 29 Mar 2005 14:49:18 -0500 Original-Received: from [195.54.107.73] (helo=mxfep02.bredband.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DGMPL-0003Ml-Eg; Tue, 29 Mar 2005 14:29:56 -0500 Original-Received: from coolsville.localdomain ([83.226.180.210] [83.226.180.210]) by mxfep02.bredband.com with ESMTP id <20050329192930.HIPH22685.mxfep02.bredband.com@coolsville.localdomain>; Tue, 29 Mar 2005 21:29:30 +0200 User-Agent: Mozilla Thunderbird 1.0 (X11/20041206) X-Accept-Language: en-us, en Original-To: "Geoffrey J. Teale" In-Reply-To: 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:35322 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:35322 Geoffrey J. Teale wrote: >Hi, > >I've just checked out and built this branch a couple of times (once >with Gtk once with LUCID). In both cases I noticed that there were a >lot of artifacts being left around, in fact it seams that buffers and >mini-buffer are only being redrawn when I resize the emacs window. If >I don't resize the window everything quickly becomes unreadable. > >I assume this is just a result of the current, early state of >development, but just in case I'm the only one experiencing this >problem I though I'd mention it > > I don't see that (but other minor redrawing errors). I suspect your version of fontconfig and/or Xrender is different from mine. I'll test this further on older X versions when Emacs has been released. You can try to modify xterm.c here: #ifdef HAVE_XFT if (! (s->for_overlaps_p || (s->background_filled_p && s->hl != DRAW_CURSOR))) XftDrawRect (s->face->xft_draw, s->hl == DRAW_CURSOR ? &s->face->xft_fg : &s->face->xft_bg, s->x, s->y, s->width + s->right_overhang, s->height); Remove the if-statement so the XftDrawRect is always done. That should improve things, but also slow drawing down somewhat. Thanks for pointing this out, Jan D.