unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Niv Drory <drory@astro.as.utexas.edu>
Cc: akochoi-emacs@shaw.ca
Subject: Re: Re: Patch to enable Quartz font smoothing on MACOSX
Date: Wed, 13 Aug 2003 07:59:28 -0500 (CDT)	[thread overview]
Message-ID: <Pine.GSO.4.55.0308130753490.9028@astro.as.utexas.edu> (raw)


> 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     |   drory@astro.as.utexas.edu
-------------------------------------------------------------------

             reply	other threads:[~2003-08-13 12:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-13 12:59 Niv Drory [this message]
2003-08-13 13:10 ` Patch to enable Quartz font smoothing on MACOSX Andreas Schwab

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=Pine.GSO.4.55.0308130753490.9028@astro.as.utexas.edu \
    --to=drory@astro.as.utexas.edu \
    --cc=akochoi-emacs@shaw.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).