From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Jan D." Newsgroups: gmane.emacs.devel Subject: Re: Xft support (freetype, anti-aliasing) in X11 emacs Date: Thu, 3 Oct 2002 22:03:04 +0200 Sender: emacs-devel-admin@gnu.org Message-ID: <20CE3498-D70B-11D6-98F2-00039363E640@swipnet.se> References: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 (Apple Message framework v482) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1033705883 12560 127.0.0.1 (4 Oct 2002 04:31:23 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 4 Oct 2002 04:31:23 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17xK7V-0003GR-00 for ; Fri, 04 Oct 2002 06:31:21 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17xKsx-0006dp-00 for ; Fri, 04 Oct 2002 07:20:23 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17xK7n-0000I9-00; Fri, 04 Oct 2002 00:31:39 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17xCCp-0004bf-00 for emacs-devel@gnu.org; Thu, 03 Oct 2002 16:04:19 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17xCCn-0004bT-00 for emacs-devel@gnu.org; Thu, 03 Oct 2002 16:04:19 -0400 Original-Received: from stubby.bodenonline.com ([193.201.16.94]) by monty-python.gnu.org with esmtp (Exim 4.10) id 17xCCn-0004bP-00 for emacs-devel@gnu.org; Thu, 03 Oct 2002 16:04:17 -0400 Original-Received: from pc35.bodenonline.com (IDENT:root@pc35.bodenonline.com [195.196.29.227] (may be forged)) by stubby.bodenonline.com (8.12.1/8.12.1) with ESMTP id g93K0Pd8025531; Thu, 3 Oct 2002 22:00:26 +0200 Original-To: Ami Fischman In-Reply-To: X-Mailer: Apple Mail (2.482) Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:8347 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:8347 torsdagen den 3 oktober 2002 kl 21.28 skrev Ami Fischman: > "Jan D." writes: > > [...] > >> I'm working on a Gtk port (not much time to spend on this lately, but >> moving forward somewhat faster this month). But that won't give you >> anti-alias support "for free". In Gtk at least, it would mean a total >> conversion of all display code in Emacs to use Gtk primitives >> for text. This duplication of code is undesirable. > > My impression was that if the code uses pango, then you can relatively > simply select between having pango use Xft/ft2/std.X calls. Is this > incorrect or were you not including using pango under the heading of a "Gtk > port"? Yes, pango can use X calls, but Emacs have to convert to using pango, and that is a lot of code. Basically you would have one pango version and one X version of the code, or just one pango version. I don't know if the requirement to have pango to run Emacs is OK. Also, Emacs would probably have to be converted to Unicode, since that is what pango uses. > >> Putting in anti-alias code that works with X regardless of toolkit would >> be nice. > > I think having emacs use Xft2 directly instead of standard X font interface > would do it. If you say so, I haven't looked at Xft2. I don't even like antialiased fonts, they make my eyes hurt :-) Jan D.