From 0fde1939fcafd16753f3a63f06487a761311e358 Mon Sep 17 00:00:00 2001 From: Adrian Robert Date: Fri, 18 Sep 2009 15:12:34 +0000 Subject: [PATCH] (nsfont_draw) [NS_IMPL_COCOA]: Don't use ns_use_qd_smoothing. --- src/nsfont.m | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/nsfont.m b/src/nsfont.m index 1319a376631..1359a3e248d 100644 --- a/src/nsfont.m +++ b/src/nsfont.m @@ -48,7 +48,7 @@ extern Lisp_Object Qns; 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 @@ nsfont_draw (struct glyph_string *s, int from, int to, int x, int y, 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); -- 2.39.5