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: Fri, 11 Mar 2005 16:13:58 +0100 Message-ID: <0e2137042bdc3df8a67c1cbe128b4197@swipnet.se> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v619.2) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1110554698 26463 80.91.229.2 (11 Mar 2005 15:24:58 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 11 Mar 2005 15:24:58 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Mar 11 16:24:57 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1D9lt5-0008OC-IA for ged-emacs-devel@m.gmane.org; Fri, 11 Mar 2005 16:17:16 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D9m8B-0002la-Js for ged-emacs-devel@m.gmane.org; Fri, 11 Mar 2005 10:32:51 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1D9m7S-0002We-7p for emacs-devel@gnu.org; Fri, 11 Mar 2005 10:32:07 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1D9m7N-0002V6-7X for emacs-devel@gnu.org; Fri, 11 Mar 2005 10:32:03 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D9m7N-0002UZ-37 for emacs-devel@gnu.org; Fri, 11 Mar 2005 10:32:01 -0500 Original-Received: from [195.54.107.73] (helo=mxfep02.bredband.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1D9lqq-0005NW-Ro for emacs-devel@gnu.org; Fri, 11 Mar 2005 10:14:57 -0500 Original-Received: from coolsville.localdomain ([83.226.180.210] [83.226.180.210]) by mxfep02.bredband.com with ESMTP id <20050311151455.LRTF23781.mxfep02.bredband.com@coolsville.localdomain>; Fri, 11 Mar 2005 16:14:55 +0100 In-Reply-To: Original-To: gteale@cmedltd.com (Geoffrey J. Teale) X-Mailer: Apple Mail (2.619.2) 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 X-MailScanner-To: ged-emacs-devel@m.gmane.org Xref: news.gmane.org gmane.emacs.devel:34476 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:34476 > > I'll stick my hand in the air here and say that I would favour people > putting effort into Cairo support rather than Xft. > > Isn't Cairo being used in Gtk now? Could we get Cairo for free by > porting the buffer to Gtk? GTK 2.6 does not use Cairo, the development version might. As for "porting the buffer", I assume you mean that we should leave all redisplay to Gtk, by using for example the text widget? Unfortunately the redisplay in that widget is crude and simple, and is only suitable for the most simple text editing tasks. Getting Emacs to use Xft for all X ports is much more realistic. Cairo is a moving target, and from what I have seen, we still need font metrics and the like to be able to handle redisplay. Cairo only gives simple drawing primitives, this is not good enough. I haven't seen the latest Cairo sources, so this might have changed. But if we get font metrics from Cairo or Xft does not matter much, the porting work is roughly the same, so Xft is a much better target. The drawing stuff is trivial in both cases. Jan D.