From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Francis Devereux Newsgroups: gmane.emacs.devel Subject: Re: 23.1; ns-antialias-text set to nil has no effect Date: Sun, 14 Feb 2010 16:01:55 +0000 Message-ID: References: <3D80FB40-724F-4789-8807-E1C8A8A40375@gmail.com> <2A6D0821-4E99-48D0-A710-2D01006A09E4@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1077) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1266163345 31439 80.91.229.12 (14 Feb 2010 16:02:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 14 Feb 2010 16:02:25 +0000 (UTC) Cc: Adrian Robert , 4736@emacsbugs.donarmstrong.com, John Whitley , emacs-devel@gnu.org To: David Reitter Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Feb 14 17:02:22 2010 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.69) (envelope-from ) id 1NggvH-0001Xp-1u for ged-emacs-devel@m.gmane.org; Sun, 14 Feb 2010 17:02:15 +0100 Original-Received: from localhost ([127.0.0.1]:34570 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NggvG-0001wU-Em for ged-emacs-devel@m.gmane.org; Sun, 14 Feb 2010 11:02:14 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NggvA-0001vg-9z for emacs-devel@gnu.org; Sun, 14 Feb 2010 11:02:08 -0500 Original-Received: from [140.186.70.92] (port=34784 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nggv9-0001vY-Ci for emacs-devel@gnu.org; Sun, 14 Feb 2010 11:02:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Nggv8-0000PY-GV for emacs-devel@gnu.org; Sun, 14 Feb 2010 11:02:07 -0500 Original-Received: from moutng.kundenserver.de ([212.227.126.171]:60233) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nggv8-0000PS-5S for emacs-devel@gnu.org; Sun, 14 Feb 2010 11:02:06 -0500 Original-Received: from jupiter-wifi.repton.int (93-97-163-71.zone5.bethere.co.uk [93.97.163.71]) by mrelayeu.kundenserver.de (node=mreu1) with ESMTP (Nemesis) id 0MQJuC-1NFHb62OGy-00TtK1; Sun, 14 Feb 2010 17:01:57 +0100 In-Reply-To: <2A6D0821-4E99-48D0-A710-2D01006A09E4@gmail.com> X-Mailer: Apple Mail (2.1077) X-Provags-ID: V01U2FsdGVkX1/EBhMfUNuR8vA56RQjMbmfZdh8L3b60Jay7RG 7lswj4UZpiYktRqF75BGHA8NrGq84uqvXdOt3uQOeRONYxoIwK 9KVmu7v9A9RPoAMIV5N6A== X-detected-operating-system: by eggs.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:121118 Archived-At: On 14 Feb 2010, at 15:38, David Reitter wrote: > On Feb 14, 2010, at 8:31 AM, Francis Devereux wrote: >=20 >> On 17 Oct 2009, at 13:16, Adrian Robert wrote: >>=20 >>> http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3D4736 >>=20 >> I've also discovered that if I build Emacs as a 32 bit binary on 10.6 = (the default is 64 bit on 10.6) with the following command then = ns-antialias-text works. The commands I used to build are: >> LDFLAGS=3D"-arch i386" CFLAGS=3D"-g -O2 -arch i386 -march=3Dcore2" = ../trunk/configure --build=3Di386-apple-darwin10.2.0 --with-ns && make = -j2 && make install >=20 >=20 > ns_antialias_text is wrongly declared as an int instead of = Lisp_Object, and the nonstandard pointer comparison to Qnil helped cover = it up, I suppose. That also explains why it happened to work on 32bit. = Try the patch below. Thanks David, works when compiled as 64 bit on OS X 10.6.2. Francis