diff options
-rw-r--r-- | src/ChangeLog | 5 | ||||
-rw-r--r-- | src/nsfont.m | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 07ce6b229fe..70666476b39 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2009-03-04 Nikolaj Schumacher <me@nschum.de> + + * nsfont.m (nsfont_draw): Compare ns_antialias_text against lisp + value. + 2009-03-04 Jason Rumney <jasonr@gnu.org> * w32fns.c (w32_wnd_proc): Only ignore IME messages for the diff --git a/src/nsfont.m b/src/nsfont.m index 386637df59a..e2e537f67e7 100644 --- a/src/nsfont.m +++ b/src/nsfont.m @@ -1053,7 +1053,7 @@ nsfont_draw (struct glyph_string *s, int from, int to, int x, int y, 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); |