diff options
| author | Adrian Robert | 2009-03-04 21:21:25 +0000 |
|---|---|---|
| committer | Adrian Robert | 2009-03-04 21:21:25 +0000 |
| commit | 2f462d73e7f4374790171d5d5a5bf38ba201589e (patch) | |
| tree | c58aa23a6be53004cc8efc04fccac214c8f11695 /src | |
| parent | a728dc59a12466bf8bb5f0769b5abe9a53498f48 (diff) | |
| download | emacs-2f462d73e7f4374790171d5d5a5bf38ba201589e.tar.gz emacs-2f462d73e7f4374790171d5d5a5bf38ba201589e.zip | |
* nsfont.m (nsfont_draw): Compare ns_antialias_text against lisp value.
Diffstat (limited to 'src')
| -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 @@ | |||
| 1 | 2009-03-04 Nikolaj Schumacher <me@nschum.de> | ||
| 2 | |||
| 3 | * nsfont.m (nsfont_draw): Compare ns_antialias_text against lisp | ||
| 4 | value. | ||
| 5 | |||
| 1 | 2009-03-04 Jason Rumney <jasonr@gnu.org> | 6 | 2009-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); |