Mercurial > emacs
changeset 105084:ed989664c444
(nsfont_draw) [NS_IMPL_COCOA]: Don't use ns_use_qd_smoothing.
author | Adrian Robert <Adrian.B.Robert@gmail.com> |
---|---|
date | Fri, 18 Sep 2009 15:12:34 +0000 |
parents | 544f5b209a5b |
children | 767bf46c924d |
files | src/nsfont.m |
diffstat | 1 files changed, 1 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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);