From unknown Sat Aug 16 13:39:43 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#2478 <2478@debbugs.gnu.org> To: bug#2478 <2478@debbugs.gnu.org> Subject: Status: 23.0.91; font antialiasing switch in nextstep broken Reply-To: bug#2478 <2478@debbugs.gnu.org> Date: Sat, 16 Aug 2025 20:39:43 +0000 retitle 2478 23.0.91; font antialiasing switch in nextstep broken reassign 2478 emacs,ns submitter 2478 Nikolaj Schumacher severity 2478 normal thanks From me@nschum.de Thu Feb 26 00:29:21 2009 Received: (at submit) by emacsbugs.donarmstrong.com; 26 Feb 2009 08:29:21 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: * X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=1.0 required=4.0 tests=IMPRONONCABLE_2 autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1Q8THZd021720 for ; Thu, 26 Feb 2009 00:29:19 -0800 Received: from mail.gnu.org ([199.232.76.166]:44505 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1Lcba8-0006zD-A6 for emacs-pretest-bug@gnu.org; Thu, 26 Feb 2009 03:27:00 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1LcbcI-00081Y-Mm for emacs-pretest-bug@gnu.org; Thu, 26 Feb 2009 03:29:16 -0500 Received: from mx20.gnu.org ([199.232.41.8]:11178) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LcbcI-00081F-85 for emacs-pretest-bug@gnu.org; Thu, 26 Feb 2009 03:29:14 -0500 Received: from dd18200.kasserver.com ([85.13.138.168]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LcbcF-0008Ql-4f for emacs-pretest-bug@gnu.org; Thu, 26 Feb 2009 03:29:11 -0500 Received: from thursday (f051004232.adsl.alicedsl.de [78.51.4.232]) by dd18200.kasserver.com (Postfix) with ESMTP id 053A918104F71 for ; Thu, 26 Feb 2009 09:29:08 +0100 (CET) From: Nikolaj Schumacher To: emacs-pretest-bug@gnu.org Subject: 23.0.91; font antialiasing switch in nextstep broken User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (darwin) Date: Thu, 26 Feb 2009 09:29:06 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-detected-kernel: by mx20.gnu.org: Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Hello, switching font antialiasing in nextstep doesn't work. A fix is included. regards, Nikolaj Schumacher In GNU Emacs 23.0.91.1 (i386-apple-darwin9.6.0, NS apple-appkit-949.43) of 2009-02-26 on thursday Windowing system distributor `Apple', version 10.3.949 configured using `configure '--with-ns' '--without-x' 'CC=gcc-4.2' 'CFLAGS=-arch i386 -O2'' diff --git a/src/nsfont.m b/src/nsfont.m index 386637d..e2e537f 100644 --- a/src/nsfont.m +++ b/src/nsfont.m @@ -1053,7 +1053,7 @@ nsfont_draw (struct glyph_string *s, int from, int to, int CGContextSetFont (gcontext, font->cgfont); CGContextSetFontSize (gcontext, font->size); - if (ns_antialias_text == NO || font->size <= ns_antialias_threshold) + if (ns_antialias_text == Qnil || font->size <= ns_antialias_threshold) CGContextSetShouldAntialias (gcontext, 0); else CGContextSetShouldAntialias (gcontext, 1); From monnier@iro.umontreal.ca Thu Feb 26 07:26:24 2009 Received: (at submit) by emacsbugs.donarmstrong.com; 26 Feb 2009 15:26:24 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-0.5 required=4.0 tests=HAS_BUG_NUMBER,XIRONPORT autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1QFQL9N031831 for ; Thu, 26 Feb 2009 07:26:22 -0800 Received: from mx10.gnu.org ([199.232.76.166]:55724) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1Lci5j-0004aG-K1 for emacs-pretest-bug@gnu.org; Thu, 26 Feb 2009 10:24:03 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Lci7v-0002y6-Oy for emacs-pretest-bug@gnu.org; Thu, 26 Feb 2009 10:26:20 -0500 Received: from ironport2-out.pppoe.ca ([206.248.154.182]:64021 helo=ironport2-out.teksavvy.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Lci7v-0002xm-Fd for emacs-pretest-bug@gnu.org; Thu, 26 Feb 2009 10:26:19 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgsFAFdDpklFxKYM/2dsb2JhbACBb9gPhBEGg2Y X-IronPort-AV: E=Sophos;i="4.38,271,1233550800"; d="scan'208";a="34438724" Received: from 69-196-166-12.dsl.teksavvy.com (HELO pastel.home) ([69.196.166.12]) by ironport2-out.teksavvy.com with ESMTP; 26 Feb 2009 10:26:18 -0500 Received: by pastel.home (Postfix, from userid 20848) id CF4D89114; Thu, 26 Feb 2009 10:26:17 -0500 (EST) From: Stefan Monnier To: Nikolaj Schumacher Cc: 2478@debbugs.gnu.org, emacs-pretest-bug@gnu.org Subject: Re: bug#2478: 23.0.91; font antialiasing switch in nextstep broken Message-ID: References: Date: Thu, 26 Feb 2009 10:26:17 -0500 In-Reply-To: (Nikolaj Schumacher's message of "Thu, 26 Feb 2009 09:29:06 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.90 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. > --- a/src/nsfont.m > +++ b/src/nsfont.m > @@ -1053,7 +1053,7 @@ nsfont_draw (struct glyph_string *s, int from, int to, int > CGContextSetFont (gcontext, font->cgfont); > CGContextSetFontSize (gcontext, font->size); > - if (ns_antialias_text == NO || font->size <= ns_antialias_threshold) > + if (ns_antialias_text == Qnil || font->size <= ns_antialias_threshold) > CGContextSetShouldAntialias (gcontext, 0); > else > CGContextSetShouldAntialias (gcontext, 1); If someone could try and compile the Emacs.app port with -DUSE_LISP_UNION_TYPE, this bug (and probably several others) would get caught during compilation. Stefan From rgm@gnu.org Thu Feb 26 11:39:44 2009 Received: (at control) by emacsbugs.donarmstrong.com; 26 Feb 2009 19:39:44 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-2.0 required=4.0 tests=VALID_BTS_CONTROL autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1QJdfLi029319 for ; Thu, 26 Feb 2009 11:39:42 -0800 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1Lcm2t-0004ti-2A; Thu, 26 Feb 2009 14:37:23 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18854.61299.7814.411639@fencepost.gnu.org> Date: Thu, 26 Feb 2009 14:37:23 -0500 From: Glenn Morris To: control Subject: control message reassign 2478 emacs,ns reassign 2482 spam reassign 2486 spam close 1898 From adrian.b.robert@gmail.com Wed Mar 4 13:22:53 2009 Received: (at 2478) by emacsbugs.donarmstrong.com; 4 Mar 2009 21:22:53 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.0 required=4.0 tests=MURPHY_DRUGS_REL8 autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from mail-ew0-f176.google.com (mail-ew0-f176.google.com [209.85.219.176]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n24LMoMg018813 for <2478@emacsbugs.donarmstrong.com>; Wed, 4 Mar 2009 13:22:52 -0800 Received: by ewy24 with SMTP id 24so3032914ewy.1 for <2478@emacsbugs.donarmstrong.com>; Wed, 04 Mar 2009 13:22:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:mime-version:content-type :message-id:cc:content-transfer-encoding:from:subject:date:to :x-mailer; bh=9ORViMy6pdC9SvUT6KWz5KXjtqBOgbAGYpCMipXaR9c=; b=EsiI5tTfCJANpm1RqGBUuSQ1Iaazdmdpj9hK7YzXK8Mo/4Os20bxJODqruXePZoBOk /lY2Ae5bkRPjQDVWo4S4RdJoUMllVwgSdT3bt0cthh6abCH2nD1jVOBo0hCBqHE6CnGG ng+EkQY2q342mgY6zxDqOqeViz5GoRv6clb/0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:content-type:message-id:cc:content-transfer-encoding :from:subject:date:to:x-mailer; b=hmO7m207hvQxtUci0oBAGs4BVyEgbFGYS6HPGmi/4ysDXpLo80DInbKRxXGHre4rds sBKiGr+3jDJGLStLP2PvSS/7R8QDH4qcVORtRfq41kyGNhch9mEWYwuNWu7bueMPxr/g u+oZmtIya4u1qzioYNsQa7wxU2/A8yrrxd8I8= Received: by 10.216.28.209 with SMTP id g59mr155054wea.96.1236201764513; Wed, 04 Mar 2009 13:22:44 -0800 (PST) Received: from ?88.194.239.235? (gprs-prointernet-ffefc200-235.dhcp.inet.fi [88.194.239.235]) by mx.google.com with ESMTPS id d24sm6864278nfh.43.2009.03.04.13.22.42 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 04 Mar 2009 13:22:43 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v753.1) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Cc: Nikolaj Schumacher , Stefan Monnier Content-Transfer-Encoding: 7bit From: Adrian Robert Subject: Re: 23.0.91; font antialiasing switch in nextstep broken Date: Wed, 4 Mar 2009 23:23:20 +0200 To: 2478@debbugs.gnu.org X-Mailer: Apple Mail (2.753.1) Thanks, I've applied the patch, leaving bug report open as a reminder to try this UNION_TYPE as suggested. -Adrian From rgm@gnu.org Wed Mar 4 19:48:30 2009 Received: (at 2478) by emacsbugs.donarmstrong.com; 5 Mar 2009 03:48:30 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-6.0 required=4.0 tests=HAS_BUG_NUMBER, X_DEBBUGS_NO_ACK autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n253mS93019599 for <2478@emacsbugs.donarmstrong.com>; Wed, 4 Mar 2009 19:48:29 -0800 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1Lf4ZO-0002e5-O4; Wed, 04 Mar 2009 22:48:26 -0500 From: Glenn Morris To: Nikolaj Schumacher Cc: 2478@debbugs.gnu.org Subject: Re: bug#2478: 23.0.91; font antialiasing switch in nextstep broken References: X-Spook: SSL Ron Brown Fortezza SRI Project Monarch munitions X-Ran: IC>6,U3+A)VM`,3U-;_LdA]UX\Xy+rMxA%ejRBW/V@tIA=cHK'|[|_udY\@OAN%,Da$q User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Nikolaj Schumacher wrote: > A fix is included. With this, you have seven "tiny changes". You should complete a copyright assignment before contributing more. From adrian.b.robert@gmail.com Fri Mar 6 07:16:47 2009 Received: (at 2478) by emacsbugs.donarmstrong.com; 6 Mar 2009 15:16:47 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.0 required=4.0 tests=none autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from mail-ew0-f176.google.com (mail-ew0-f176.google.com [209.85.219.176]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n26FGhld014563 for <2478@emacsbugs.donarmstrong.com>; Fri, 6 Mar 2009 07:16:45 -0800 Received: by ewy24 with SMTP id 24so232012ewy.1 for <2478@emacsbugs.donarmstrong.com>; Fri, 06 Mar 2009 07:16:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:mime-version:content-type :message-id:cc:content-transfer-encoding:from:subject:date:to :x-mailer; bh=ze4gykVpb+QE0dpIEtNwSIKISWBzpHoQbkkd5Qj+P58=; b=dd6hakfV58ap0blmC8vH52q1QeA7dYb+YhuybSuIzAQcJAY8hO9ax2xFAWXrRpiZCH Uk2hqrh4wzN8b1+X2hAV39TdKu7ZSjwQPtfuVgCAXtjtz3+u1h4AZSqDmz8hvYNlIDIF 6hxhFbDlTnZhrpVWZYJf7RbnYxw9X8Z0jv+8Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:content-type:message-id:cc:content-transfer-encoding :from:subject:date:to:x-mailer; b=x69g7ZHC0vkWmBgYObqTgsQWDSv/P5Qdzc/OaVhiZJYkPJVSadjil1i06TYzdGgs9y qz0Igw05KudRvhWeGIJSe8UJIw7nGzVZ4c71h8yPgtPWiNn7GpUh00grpcav2RhHyGGs yViO7OmsqGBn0EJ8peztG+iUMyJZbxtpYu9AY= Received: by 10.216.0.73 with SMTP id 51mr1275246wea.52.1236352598023; Fri, 06 Mar 2009 07:16:38 -0800 (PST) Received: from ?88.194.195.100? (gprs-prointernet-ffc3c200-100.dhcp.inet.fi [88.194.195.100]) by mx.google.com with ESMTPS id 31sm2458672nfu.17.2009.03.06.07.16.35 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 06 Mar 2009 07:16:37 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v753.1) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <36452416-B6B4-49E1-97D6-BADFD8DBF6D4@gmail.com> Cc: Stefan Monnier Content-Transfer-Encoding: 7bit From: Adrian Robert Subject: Re: 23.0.91; font antialiasing switch in nextstep broken Date: Fri, 6 Mar 2009 17:17:17 +0200 To: 2478@debbugs.gnu.org X-Mailer: Apple Mail (2.753.1) > If someone could try and compile the Emacs.app port > with -DUSE_LISP_UNION_TYPE, this bug (and probably several others) > would > get caught during compilation. I just tried this and found errors in core files relating to specification of Lisp_Object arguments as "register" variables. I'm not sure the compiler complaint is specific to the version of gcc on OS X (4.0.1)? gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/Users/arobert/src/EmacsApp/ emacs/src -I/usr/X11R6/include -Dtemacs -g -O2 -Wno-pointer-sign - DUSE_LISP_UNION_TYPE frame.c frame.c: In function 'delete_frame': frame.c:1505: error: address of register variable 'force' requested make: *** [frame.o] Error 1 make: *** Waiting for unfinished jobs.... Then I got an error in nsterm that I can't make sense of: nsterm.m: In function 'ns_term_init': nsterm.m:3897: error: incompatible types in assignment This line is a simple call to a DEFUN taking one arg: Lisp_Object color_file, color_map, color; ... color_map = Fx_load_color_file (color_file); From adrian.b.robert@gmail.com Sat May 30 22:49:11 2009 Received: (at 2478-done) by emacsbugs.donarmstrong.com; 31 May 2009 05:49:12 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: *** X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=3.7 required=4.0 tests=AWL,EMPTY_MESSAGE, MISSING_SUBJECT,NOSUBJECT autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from mail-fx0-f160.google.com (mail-fx0-f160.google.com [209.85.220.160]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n4V5n7ZG011396 for <2478-done@emacsbugs.donarmstrong.com>; Sat, 30 May 2009 22:49:09 -0700 Received: by fxm4 with SMTP id 4so7830590fxm.1 for <2478-done@emacsbugs.donarmstrong.com>; Sat, 30 May 2009 22:49:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:mime-version :content-transfer-encoding:message-id:content-type:to:from:subject :date:x-mailer; bh=47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=; b=fk6ImsQujWPZ0WzegX4cgOagKsyGdtMftxDFFU0lESA0Ax3C5A0biedoWB6YyakHnE dB+ZVe7OcjnU051AMQ45e3q1DmrOqlN4qem31XZGd8CatJ+EMU2x2XDgLluxO+bHhtCb hz4u4v8UNi4aOgDf/WUEDR+VT4REUMI4yi8rI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:content-transfer-encoding:message-id:content-type:to :from:subject:date:x-mailer; b=d9leSS8q4iZyDH12RNAA4L5PSkCJoTeuwsr0DgXxbZdXg2RKTUXk6hgKCKxaHtqT+C gPEeFEGuIleS/XijJNJQkTlEIJb5ffI8nGCTZyl9CTGRVto1ngMuEgjyGkSHugGISWbB tHB02VejPLSsDjXb1eHK1vVWem9gxA2qCU7tk= Received: by 10.86.27.6 with SMTP id a6mr4950611fga.18.1243748942346; Sat, 30 May 2009 22:49:02 -0700 (PDT) Received: from ?192.168.1.23? (ppp-58-8-194-189.revip2.asianet.co.th [58.8.194.189]) by mx.google.com with ESMTPS id 3sm31897fge.24.2009.05.30.22.49.00 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 30 May 2009 22:49:01 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v753.1) Content-Transfer-Encoding: 7bit Message-Id: <8EB23D91-883D-4FEF-9740-26C18FF8DAFD@gmail.com> Content-Type: text/plain; charset=US-ASCII; format=flowed To: 2478-done@debbugs.gnu.org From: Adrian Robert Subject: Date: Sun, 31 May 2009 12:49:28 +0700 X-Mailer: Apple Mail (2.753.1) From unknown Sat Aug 16 13:39:43 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: $requester Subject: Internal Control Message-Id: bug archived. Date: Sun, 28 Jun 2009 14:24:10 +0000 User-Agent: Fakemail v42.6.9 # A New Hope # A log time ago, in a galaxy far, far away # something happened. # # Magically this resulted in the following # action being taken, but this fake control # message doesn't tell you why it happened # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator