Commit 0fde1939 authored by Adrian Robert's avatar Adrian Robert
Browse files

(nsfont_draw) [NS_IMPL_COCOA]: Don't use ns_use_qd_smoothing.

parent 9518c243
......@@ -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 @@ WITH_BACKGROUND is zero when (FROM > 0 || TO < S->nchars). */
CGContextSetShouldAntialias (gcontext, 0);
CGContextSetShouldAntialias (gcontext, 1);
if (EQ (ns_use_qd_smoothing, Qt))
CGContextSetFontRenderingMode (gcontext, 2); /* 0 is Cocoa, 2 is QD */
CGContextSetTextMatrix (gcontext, fliptf);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment