From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: ftx font driver [Re: Low redisplay performance (23 regression)] Date: Thu, 23 Apr 2009 23:52:51 -0400 Message-ID: <878wlqbtd8.fsf@cyd.mit.edu> 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> <87iqkvh7ew.fsf@cyd.mit.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1240545074 22798 80.91.229.12 (24 Apr 2009 03:51:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 24 Apr 2009 03:51:14 +0000 (UTC) Cc: dcl441-bugs@yahoo.com, emacs-devel@gnu.org, mituharu@math.s.chiba-u.ac.jp, Kenichi Handa To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Apr 24 05:52: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 1LxCSn-0006HS-2S for ged-emacs-devel@m.gmane.org; Fri, 24 Apr 2009 05:52:33 +0200 Original-Received: from localhost ([127.0.0.1]:36182 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LxCRN-0000Lj-FL for ged-emacs-devel@m.gmane.org; Thu, 23 Apr 2009 23:51:05 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LxCRK-0000Lb-0q for emacs-devel@gnu.org; Thu, 23 Apr 2009 23:51:02 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LxCRF-0000K7-Hs for emacs-devel@gnu.org; Thu, 23 Apr 2009 23:51:01 -0400 Original-Received: from [199.232.76.173] (port=35413 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LxCRF-0000K3-AL for emacs-devel@gnu.org; Thu, 23 Apr 2009 23:50:57 -0400 Original-Received: from cyd.mit.edu ([18.115.2.24]:57754) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LxCRE-0004xw-Vf for emacs-devel@gnu.org; Thu, 23 Apr 2009 23:50:57 -0400 Original-Received: by cyd.mit.edu (Postfix, from userid 1000) id 9A58E57E245; Thu, 23 Apr 2009 23:52:51 -0400 (EDT) In-Reply-To: (Stefan Monnier's message of "Thu, 23 Apr 2009 22:01:04 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. 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:110447 Archived-At: Stefan Monnier writes: > I think it's perfectly OK to say "if you have X and freetype, either > install xft, or live without anti-aliasing". IIUC that means I'd get > rid of the ftx backend. How bout the following? (It should be fairly safe.) *** trunk/configure.in.~1.591.~ 2009-04-19 21:34:45.000000000 -0400 --- trunk/configure.in 2009-04-23 23:43:54.000000000 -0400 *************** *** 133,139 **** OPTION_DEFAULT_ON([png],[don't compile with PNG image support]) OPTION_DEFAULT_ON([rsvg],[don't compile with SVG image support]) - OPTION_DEFAULT_ON([freetype],[don't use Freetype for local font support]) OPTION_DEFAULT_ON([xft],[don't use XFT for anti aliased fonts]) OPTION_DEFAULT_ON([libotf],[don't use libotf for OpenType font support]) OPTION_DEFAULT_ON([m17n-flt],[don't use m17n-flt for text shaping]) --- 133,138 ---- *************** *** 1270,1276 **** if test "${HAVE_NS}" = yes; then window_system=nextstep with_xft=no - with_freetype=no # set up packaging dirs exec_prefix=${ns_appbindir} libexecdir=${ns_appbindir}/libexec --- 1269,1274 ---- *************** *** 1844,1854 **** ### Start of font-backend (under X11) section. if test "${HAVE_X11}" = "yes"; then PKG_CHECK_MODULES(FONTCONFIG, fontconfig >= 2.2.0, HAVE_FC=yes, HAVE_FC=no) - test "${HAVE_FC}" = "no" && with_freetype=no ! ## Use -lXft if available, unless `--with-freetype=no' nor `--with-xft=no'. HAVE_XFT=maybe ! if test "x${with_freetype}" = "xno" || test "x${with_x}" = "xno"; then with_xft="no"; fi if test "x${with_xft}" != "xno"; then --- 1842,1851 ---- ### Start of font-backend (under X11) section. if test "${HAVE_X11}" = "yes"; then PKG_CHECK_MODULES(FONTCONFIG, fontconfig >= 2.2.0, HAVE_FC=yes, HAVE_FC=no) ! ## Use -lXft if available, unless `--with-xft=no'. HAVE_XFT=maybe ! if test "${HAVE_FC}" = "no" || test "x${with_x}" = "xno"; then with_xft="no"; fi if test "x${with_xft}" != "xno"; then *************** *** 1890,1898 **** HAVE_FREETYPE=yes FONTCONFIG_CFLAGS= FONTCONFIG_LIBS= - elif test "x${with_freetype}" != "xno" && test "x${with_x}" != "xno"; then - - PKG_CHECK_MODULES(FREETYPE, freetype2, HAVE_FREETYPE=yes, HAVE_FREETYPE=no) fi HAVE_LIBOTF=no --- 1887,1892 ----