emacs-devel
[Top][All Lists]
Advanced

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

Re: Patch to enable Quartz font smoothing on MACOSX


From: Andreas Schwab
Subject: Re: Patch to enable Quartz font smoothing on MACOSX
Date: Wed, 13 Aug 2003 15:10:54 +0200
User-agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3.50 (gnu/linux)

Niv Drory <address@hidden> writes:

|> > 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)

This will fail when `uname -r' return "5.10".  Why can't you just check
for the existence of a particular function in the library?

Andreas.

-- 
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 N├╝rnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




reply via email to

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