aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/nsfont.m2
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 @@
12009-03-04 Nikolaj Schumacher <me@nschum.de>
2
3 * nsfont.m (nsfont_draw): Compare ns_antialias_text against lisp
4 value.
5
12009-03-04 Jason Rumney <jasonr@gnu.org> 62009-03-04 Jason Rumney <jasonr@gnu.org>
2 7
3 * w32fns.c (w32_wnd_proc): Only ignore IME messages for the 8 * 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,
1053 1053
1054 CGContextSetFont (gcontext, font->cgfont); 1054 CGContextSetFont (gcontext, font->cgfont);
1055 CGContextSetFontSize (gcontext, font->size); 1055 CGContextSetFontSize (gcontext, font->size);
1056 if (ns_antialias_text == NO || font->size <= ns_antialias_threshold) 1056 if (ns_antialias_text == Qnil || font->size <= ns_antialias_threshold)
1057 CGContextSetShouldAntialias (gcontext, 0); 1057 CGContextSetShouldAntialias (gcontext, 0);
1058 else 1058 else
1059 CGContextSetShouldAntialias (gcontext, 1); 1059 CGContextSetShouldAntialias (gcontext, 1);