emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Re: Patch to enable Quartz font smoothing on MACOSX


From: Niv Drory
Subject: Re: Re: Patch to enable Quartz font smoothing on MACOSX
Date: Wed, 13 Aug 2003 07:59:28 -0500 (CDT)

> I can only be in favor of adding this patch if `./configure' is made
> to automatically determine whether the function SwapQDTextFlags is
> available.  An option to `./configure' is not a good solution.

Some people prefer QuickDraw font smoothing, that's why I'd prefer a
user setable switch. Anyway, here's a patch to configure.in

--- configure.in        Wed Aug 13 07:40:21 2003
+++ configure.in.new    Wed Aug 13 07:42:08 2003
@@ -2218,6 +2218,7 @@

 ### Use Mac OS X Carbon API to implement GUI.
 HAVE_CARBON=no
+ENABLE_QUARTZ_FONT_SMOOTHING=no
 if test "${with_carbon}" != "no"; then
   AC_CHECK_HEADER(Carbon/Carbon.h, HAVE_CARBON=yes)
 fi
@@ -2235,6 +2236,12 @@
   fi
   # We also have mouse menus.
   HAVE_MENUS=yes
+  # check for Mac OS X Version >= 10.1.5 for Quartz font-smoothing
+  # (this corresponds to Darwin 5.5)
+  darwin_55=$(expr $(uname -r) ">=" 5.5)
+  if test ${darwin_55} = 1 ; then
+    AC_DEFINE(ENABLE_QUARTZ_FONT_SMOOTHING, 1, [Enable Quartz font smoothing])
+  fi
 fi

 ### Use session management (-lSM -lICE) if available







-------------------------------------------------------------------
Niv Drory                             |
Department of Astronomy               |   phone:     (512) 471 7426
The University of Texas at Austin     |   address@hidden
-------------------------------------------------------------------




reply via email to

[Prev in Thread] Current Thread [Next in Thread]