unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Nikolaj Schumacher <me@nschum.de>
To: emacs-pretest-bug@gnu.org
Subject: bug#2478: 23.0.91; font antialiasing switch in nextstep broken
Date: Thu, 26 Feb 2009 09:29:06 +0100	[thread overview]
Message-ID: <m2r61l1u0d.fsf@nschum.de> (raw)

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






             reply	other threads:[~2009-02-26  8:29 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <8EB23D91-883D-4FEF-9740-26C18FF8DAFD@gmail.com>
2009-02-26  8:29 ` Nikolaj Schumacher [this message]
2009-02-26 15:26   ` bug#2478: 23.0.91; font antialiasing switch in nextstep broken Stefan Monnier
2009-03-05  3:48   ` Glenn Morris
2009-05-31  5:55   ` bug#2478: marked as done (23.0.91; font antialiasing switch in nextstep broken) Emacs bug Tracking System
2009-03-04 21:23 bug#2478: 23.0.91; font antialiasing switch in nextstep broken Adrian Robert
  -- strict thread matches above, loose matches on Subject: below --
2009-03-06 15:17 Adrian Robert

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=m2r61l1u0d.fsf@nschum.de \
    --to=me@nschum.de \
    --cc=2478@emacsbugs.donarmstrong.com \
    --cc=emacs-pretest-bug@gnu.org \
    /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).