From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.devel Subject: ftx font driver [Re: Low redisplay performance (23 regression)] Date: Thu, 23 Apr 2009 10:01:12 +0900 Message-ID: References: <4870CC42-A08E-4BE9-B566-0F4DA7AB0B74@gmail.com> <873ac3arbf.fsf@cyd.mit.edu> <83r5zmhf2q.fsf@gnu.org> <83mya9hm0i.fsf@gnu.org> <873ac0aeoy.fsf@CPU107.opentrends.net> NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1240448474 32205 80.91.229.12 (23 Apr 2009 01:01:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 23 Apr 2009 01:01:14 +0000 (UTC) Cc: dcl441-bugs@yahoo.com, emacs-devel@gnu.org To: YAMAMOTO Mitsuharu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Apr 23 03:02:33 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LwnKj-0008CP-7S for ged-emacs-devel@m.gmane.org; Thu, 23 Apr 2009 03:02:33 +0200 Original-Received: from localhost ([127.0.0.1]:40078 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LwnJK-0003jG-4R for ged-emacs-devel@m.gmane.org; Wed, 22 Apr 2009 21:01:06 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LwnJE-0003fm-CF for emacs-devel@gnu.org; Wed, 22 Apr 2009 21:01:00 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LwnJ9-0003W8-P9 for emacs-devel@gnu.org; Wed, 22 Apr 2009 21:01:00 -0400 Original-Received: from [199.232.76.173] (port=60247 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LwnJ9-0003Vl-IA for emacs-devel@gnu.org; Wed, 22 Apr 2009 21:00:55 -0400 Original-Received: from mx1.aist.go.jp ([150.29.246.133]:60432) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LwnJ8-0000XL-Pa for emacs-devel@gnu.org; Wed, 22 Apr 2009 21:00:55 -0400 Original-Received: from rqsmtp1.aist.go.jp (rqsmtp1.aist.go.jp [150.29.254.115]) by mx1.aist.go.jp with ESMTP id n3N10nfw025030; Thu, 23 Apr 2009 10:00:49 +0900 (JST) env-from (handa@m17n.org) Original-Received: from smtp1.aist.go.jp by rqsmtp1.aist.go.jp with ESMTP id n3N10nn4023550; Thu, 23 Apr 2009 10:00:49 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp1.aist.go.jp with ESMTP id n3N10m1D016794; Thu, 23 Apr 2009 10:00:48 +0900 (JST) env-from (handa@m17n.org) Original-Received: from handa by etlken with local (Exim 4.69) (envelope-from ) id 1LwnJQ-0004UN-V5; Thu, 23 Apr 2009 10:01:12 +0900 In-reply-to: (message from YAMAMOTO Mitsuharu on Thu, 23 Apr 2009 07:58:56 +0900) X-detected-operating-system: by monty-python.gnu.org: Solaris 9 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:110416 Archived-At: In article , YAMAMOTO Mitsuharu writes: >>>>>> On Wed, 22 Apr 2009 17:30:37 +0200, Daniel Clemente said: > > I haven't compared Emacs 22 and 23, but from a subjective point of > > view I have noticed that latest Emacs 23 feels slow and updates too > > much for a modern computer. Some particular problems I noticed > > randomly: > Which font backend driver are you using? You can check it with (cdr > (assq 'font-backend (frame-parameters))). I found the ftx font driver > was much slower than the xft one partly because of repeated > calculations of font metrics. (So I added some cache code to > ftcrfont.c in my latest cairo patch posted here). Please exlain why it calculates font metrics repeatedly. As ftx font driver is not used by default on any platforms, it is not tested well and I myself don't remember the code well. --- Kenichi Handa handa@m17n.org