unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Chong Yidong <cyd@stupidchicken.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: dcl441-bugs@yahoo.com, emacs-devel@gnu.org,
	mituharu@math.s.chiba-u.ac.jp, Kenichi Handa <handa@m17n.org>
Subject: Re: ftx font driver [Re: Low redisplay performance (23 regression)]
Date: Thu, 23 Apr 2009 23:52:51 -0400	[thread overview]
Message-ID: <878wlqbtd8.fsf@cyd.mit.edu> (raw)
In-Reply-To: <jwvtz4eak27.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Thu, 23 Apr 2009 22:01:04 -0400")

Stefan Monnier <monnier@iro.umontreal.ca> 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 ----




  reply	other threads:[~2009-04-24  3:52 UTC|newest]

Thread overview: 58+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-20 21:58 Low redisplay performance (23 regression) David Reitter
2009-04-20 22:31 ` Deniz Dogan
2009-04-20 22:33 ` Chong Yidong
2009-04-20 23:20   ` David Reitter
2009-04-21  3:15   ` Eli Zaretskii
2009-04-21 12:36     ` Juanma Barranquero
2009-04-21 13:51       ` David Reitter
2009-04-21 14:20         ` Juanma Barranquero
2009-04-21 18:58       ` Eli Zaretskii
2009-04-21 19:07         ` Eli Zaretskii
2009-04-21 23:24           ` Juanma Barranquero
2009-04-21 20:19         ` David Reitter
2009-04-21 20:53           ` Chong Yidong
2009-04-21 22:15             ` David Reitter
2009-04-22 15:30           ` Daniel Clemente
2009-04-22 15:50             ` David Reitter
2009-04-22 16:28               ` Chong Yidong
2009-04-22 18:26                 ` David Reitter
2009-04-23 13:34                   ` Willem Rein Oudshoorn
2009-04-23 22:45                     ` Miles Bader
2009-05-06 13:28                       ` Willem Rein Oudshoorn
2009-04-22 22:58             ` YAMAMOTO Mitsuharu
2009-04-23  1:01               ` ftx font driver [Re: Low redisplay performance (23 regression)] Kenichi Handa
2009-04-23  7:31                 ` YAMAMOTO Mitsuharu
2009-04-23 11:22                   ` Kenichi Handa
2009-04-23 12:38                     ` Chong Yidong
2009-04-23 14:56                       ` Stefan Monnier
2009-04-24  1:09                         ` Kenichi Handa
2009-04-24  2:01                           ` Stefan Monnier
2009-04-24  3:52                             ` Chong Yidong [this message]
2009-04-25 14:38                             ` Chong Yidong
2009-04-21 23:16         ` Low redisplay performance (23 regression) Juanma Barranquero
2009-04-21 14:56 ` William Xu
2009-04-21 15:30   ` David Reitter
2009-04-22 14:25     ` William Xu
2009-04-29 10:17 ` Tobias C. Rittweiler
2009-04-29 11:54   ` David Reitter
2009-04-29 13:33   ` Stefan Monnier
2009-04-29 17:35     ` Tobias C. Rittweiler
2009-04-29 20:20       ` Stefan Monnier
2009-04-30  7:34         ` Tobias C. Rittweiler
2009-04-30 20:00           ` Stefan Monnier
2009-04-30 20:34             ` Tobias C. Rittweiler
2009-04-29 18:01     ` Tobias C. Rittweiler
2009-04-29 17:40   ` Tassilo Horn
2009-04-29 17:49     ` David Reitter
2009-04-29 18:21       ` Tassilo Horn
     [not found]         ` <14FF0914-56BA-41D6-85DA-A4024694CF75@gmail.com>
2009-04-29 19:45           ` Tassilo Horn
2009-04-29 18:45       ` Chong Yidong
2009-04-30  2:46         ` YAMAMOTO Mitsuharu
2009-04-30  3:49           ` Chong Yidong
2009-04-30  6:27             ` YAMAMOTO Mitsuharu
2009-04-29 22:10       ` Miles Bader
2009-04-30  5:05     ` Chong Yidong
2009-04-30  7:53       ` Tobias C. Rittweiler
2009-04-30  9:37       ` Tassilo Horn
2009-04-30 12:44       ` David Reitter
2009-04-29 18:38 ` Dan Nicolaescu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878wlqbtd8.fsf@cyd.mit.edu \
    --to=cyd@stupidchicken.com \
    --cc=dcl441-bugs@yahoo.com \
    --cc=emacs-devel@gnu.org \
    --cc=handa@m17n.org \
    --cc=mituharu@math.s.chiba-u.ac.jp \
    --cc=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).