# HG changeset patch # User Adrian Robert # Date 1253286754 0 # Node ID ed989664c4440696b19c0677a27e82517d33f561 # Parent 544f5b209a5b47c47060065926138c9bd6f28302 (nsfont_draw) [NS_IMPL_COCOA]: Don't use ns_use_qd_smoothing. diff -r 544f5b209a5b -r ed989664c444 src/nsfont.m --- a/src/nsfont.m Fri Sep 18 15:12:15 2009 +0000 +++ b/src/nsfont.m Fri Sep 18 15:12:34 2009 +0000 @@ -48,7 +48,7 @@ extern Lisp_Object Qnormal, Qbold, Qitalic, Qcondensed, Qexpanded; static Lisp_Object Qapple, Qroman, Qmedium; extern Lisp_Object Qappend; -extern int ns_antialias_text, ns_use_qd_smoothing; +extern int ns_antialias_text; extern float ns_antialias_threshold; extern int ns_tmp_flags; extern struct nsfont_info *ns_tmp_font; @@ -1199,8 +1199,6 @@ CGContextSetShouldAntialias (gcontext, 0); else CGContextSetShouldAntialias (gcontext, 1); - if (EQ (ns_use_qd_smoothing, Qt)) - CGContextSetFontRenderingMode (gcontext, 2); /* 0 is Cocoa, 2 is QD */ CGContextSetTextMatrix (gcontext, fliptf);