aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAdrian Robert2009-09-18 15:12:34 +0000
committerAdrian Robert2009-09-18 15:12:34 +0000
commit0fde1939fcafd16753f3a63f06487a761311e358 (patch)
tree1153bfd48d9f3d129caa6ef374add17a0afd26a2 /src
parent9518c243859d76766164e08949b6fd8630cd3322 (diff)
downloademacs-0fde1939fcafd16753f3a63f06487a761311e358.tar.gz
emacs-0fde1939fcafd16753f3a63f06487a761311e358.zip
(nsfont_draw) [NS_IMPL_COCOA]: Don't use ns_use_qd_smoothing.
Diffstat (limited to 'src')
-rw-r--r--src/nsfont.m4
1 files changed, 1 insertions, 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;
48extern Lisp_Object Qnormal, Qbold, Qitalic, Qcondensed, Qexpanded; 48extern Lisp_Object Qnormal, Qbold, Qitalic, Qcondensed, Qexpanded;
49static Lisp_Object Qapple, Qroman, Qmedium; 49static Lisp_Object Qapple, Qroman, Qmedium;
50extern Lisp_Object Qappend; 50extern Lisp_Object Qappend;
51extern int ns_antialias_text, ns_use_qd_smoothing; 51extern int ns_antialias_text;
52extern float ns_antialias_threshold; 52extern float ns_antialias_threshold;
53extern int ns_tmp_flags; 53extern int ns_tmp_flags;
54extern struct nsfont_info *ns_tmp_font; 54extern struct nsfont_info *ns_tmp_font;
@@ -1199,8 +1199,6 @@ nsfont_draw (struct glyph_string *s, int from, int to, int x, int y,
1199 CGContextSetShouldAntialias (gcontext, 0); 1199 CGContextSetShouldAntialias (gcontext, 0);
1200 else 1200 else
1201 CGContextSetShouldAntialias (gcontext, 1); 1201 CGContextSetShouldAntialias (gcontext, 1);
1202 if (EQ (ns_use_qd_smoothing, Qt))
1203 CGContextSetFontRenderingMode (gcontext, 2); /* 0 is Cocoa, 2 is QD */
1204 1202
1205 CGContextSetTextMatrix (gcontext, fliptf); 1203 CGContextSetTextMatrix (gcontext, fliptf);
1206 1204