From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: antialiasing for emacs Date: 13 Aug 2003 19:48:05 +0900 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <87u19bbr02.fsf@chicolini.ods.org> <871xwes9vq.fsf@chicolini.ods.org> <87ispnwqez.fsf@tc-1-100.kawasaki.gol.ne.jp> <200307282004.h6SK49wP016439@rum.cs.yale.edu> <87fzkq9zay.fsf@chicolini.ods.org> Reply-To: Miles Bader NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1060772347 13914 80.91.224.253 (13 Aug 2003 10:59:07 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 13 Aug 2003 10:59:07 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Wed Aug 13 12:59:05 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19mtLN-0002L5-00 for ; Wed, 13 Aug 2003 12:59:05 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 19mtLR-0007aZ-00 for ; Wed, 13 Aug 2003 12:59:09 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19mtKZ-0003qb-6y for emacs-devel@quimby.gnus.org; Wed, 13 Aug 2003 06:58:15 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19mtFh-0002fw-2l for emacs-devel@gnu.org; Wed, 13 Aug 2003 06:53:13 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19mtEy-0002Ir-Bt for emacs-devel@gnu.org; Wed, 13 Aug 2003 06:52:59 -0400 Original-Received: from [202.32.8.214] (helo=TYO201.gate.nec.co.jp) by monty-python.gnu.org with esmtp (Exim 4.20) id 19mtAo-0000Vm-LC; Wed, 13 Aug 2003 06:48:10 -0400 Original-Received: from mailgate4.nec.co.jp (mailgate54.nec.co.jp [10.7.69.197]) by TYO201.gate.nec.co.jp (8.11.6/3.7W01080315) with ESMTP id h7DAm8113896; Wed, 13 Aug 2003 19:48:08 +0900 (JST) Original-Received: (from root@localhost) by mailgate4.nec.co.jp (8.11.6/3.7W-MAILGATE-NEC) id h7DAm8Q07674; Wed, 13 Aug 2003 19:48:08 +0900 (JST) Original-Received: from edtmg05.lsi.nec.co.jp ([10.26.17.202]) by mailsv.nec.co.jp (8.11.6/3.7W-MAILSV-NEC) with ESMTP id h7DAm7S05778; Wed, 13 Aug 2003 19:48:07 +0900 (JST) Original-Received: from mcsss2.ucom.lsi.nec.co.jp (localhost [127.0.0.1]) by edtmg05.lsi.nec.co.jp (8.9.3p2+3.2W/3.7W_EDC_Ver.1.0) with ESMTP id TAA22582; Wed, 13 Aug 2003 19:48:07 +0900 (JST) Original-Received: from mcspd15.ucom.lsi.nec.co.jp (mcspd15 [10.30.114.174]) by mcsss2.ucom.lsi.nec.co.jp (8.12.8/8.12.8/EDcg v2.01-mc/1046780839) with ESMTP id h7DAm6NH014210; Wed, 13 Aug 2003 19:48:06 +0900 (JST) Original-Received: by mcspd15.ucom.lsi.nec.co.jp (Postfix, from userid 31295) id E83823723; Wed, 13 Aug 2003 19:48:05 +0900 (JST) Original-To: emacs-devel@gnu.org System-Type: i686-pc-linux-gnu Blat: Foop In-Reply-To: <87fzkq9zay.fsf@chicolini.ods.org> Original-Lines: 30 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:15924 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:15924 Hi, I have question about your emacs xft support patch: Your code contains the following: + face->xftbackground.pixel = face->background; + newcolor.pixel = face->background; + XQueryColor (FRAME_X_DISPLAY (f), atts.colormap, &newcolor); + face->xftbackground.color.red = newcolor.red; + face->xftbackground.color.green = newcolor.green; + face->xftbackground.color.blue = newcolor.blue; + face->xftbackground.color.alpha = 0xffff; Is there any way to use a pixmap instead of a single color? I've been working on my pixmap background patch for emacs, and I'm a bit concerned that it won't interact correctly with font anti-aliasing (GTK presents similar problems, but they can be worked around in a brute-force manner). I'm hoping that it's possible, because Mozilla uses xft, and it certainly supports anti-aliased fonts on top of pixmap backgrounds. Thanks, -Miles -- "Though they may have different meanings, the cries of 'Yeeeee-haw!' and 'Allahu akbar!' are, in spirit, not actually all that different."