* nsfont.m (nsfont_draw): Compare ns_antialias_text against lisp value.
This commit is contained in:
parent
a728dc59a1
commit
2f462d73e7
2 changed files with 6 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -1053,7 +1053,7 @@ WITH_BACKGROUND is zero when (FROM > 0 || TO < S->nchars). */
|
|||
|
||||
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);
|
||||
|
|
Loading…
Add table
Reference in a new issue