From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Abrahams Newsgroups: gmane.emacs.devel Subject: Re: Emacs antialiasing in X Date: Thu, 12 Jan 2006 17:56:41 -0500 Message-ID: <873bjtoy1i.fsf@boost-consulting.com> References: <877j9ya8tu.fsf@boost-consulting.com> <200512220938.jBM9c8Lf021116@coolsville.localdomain> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1137106675 6174 80.91.229.2 (12 Jan 2006 22:57:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 12 Jan 2006 22:57:55 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 12 23:57:53 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1ExBOB-0006gI-6S for ged-emacs-devel@m.gmane.org; Thu, 12 Jan 2006 23:57:51 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ExBQG-0003qX-NP for ged-emacs-devel@m.gmane.org; Thu, 12 Jan 2006 18:00:00 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ExBQ7-0003qH-NJ for emacs-devel@gnu.org; Thu, 12 Jan 2006 17:59:51 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ExBQ7-0003q3-6r for emacs-devel@gnu.org; Thu, 12 Jan 2006 17:59:51 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ExBQ7-0003q0-3y for emacs-devel@gnu.org; Thu, 12 Jan 2006 17:59:51 -0500 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtp (TLS-1.0:RSA_AES_128_CBC_SHA:16) (Exim 4.34) id 1ExBSz-0002jW-H6 for emacs-devel@gnu.org; Thu, 12 Jan 2006 18:02:49 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1ExBNq-0006ak-DR for emacs-devel@gnu.org; Thu, 12 Jan 2006 23:57:30 +0100 Original-Received: from 209-150-60-201.c3-0.smr-ubr2.sbo-smr.ma.cable.rcn.com ([209.150.60.201]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 12 Jan 2006 23:57:30 +0100 Original-Received: from dave by 209-150-60-201.c3-0.smr-ubr2.sbo-smr.ma.cable.rcn.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 12 Jan 2006 23:57:30 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Lines: 53 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 209-150-60-201.c3-0.smr-ubr2.sbo-smr.ma.cable.rcn.com User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:b4mx/McjQ9dsLdT0DV3HeASe6mE= 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:48970 Archived-At: "Jan D." writes: >> That was the point of my posting. The post I responded to seemed to >> be from the initiator of the branch, and he seemed to have specific >> plans. I'm not volunteering to lead the effort, but I will help with >> the programming. > > Well, the plan is to not do anything yet :-). I also thought the plan was to eventually use cairo: http://article.gmane.org/gmane.emacs.devel/34434/match=antialiased > If you feel that you > can contribute time and effort, please go right ahead and check in > whatever changes you find time to do. I don't believe I've got commit privileges :-) > The areas in most need of work is font selection, that is not > handeled correctly. The way Emacs faces specify fonts and how they > map to X fonts needs to be handeled in a way that is appropriate for > antialiased fonts as well. Currently Emacs faces specify slant, > size and such and then translate to/from XLFD (the > -courier-normal-*-12-*-*- notation). This is not appropriate for > antialiased fonts. How so? > The calculation of the size of the frame (lines => pixels) does not > seem to be correct either, I suspect the calculation uses the wrong > font. Have any pointers into the code? > People has reported various redrawing problems also. > > And then there is the whole i18n problem. Specifically, Xft wants > unicode characters, but Emacs has its own internal (Mule) > representation. I think we must integrate XFT and Unicode before > this can be sorted out correctly. What do you mean by "integrate XFT and Unicode?" You just said Xft already wants unicode characters, so I assume they're as integrated as they're going to get. Maybe you mean "integrate Mule and Unicode?" Thanks. -- Dave Abrahams Boost Consulting www.boost-consulting.com