Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
0fde1939
Commit
0fde1939
authored
Sep 18, 2009
by
Adrian Robert
Browse files
(nsfont_draw) [NS_IMPL_COCOA]: Don't use ns_use_qd_smoothing.
parent
9518c243
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
src/nsfont.m
src/nsfont.m
+1
-3
No files found.
src/nsfont.m
View file @
0fde1939
...
...
@@ -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
);
else
CGContextSetShouldAntialias
(
gcontext
,
1
);
if (EQ (ns_use_qd_smoothing, Qt))
CGContextSetFontRenderingMode (gcontext, 2); /* 0 is Cocoa, 2 is QD */
CGContextSetTextMatrix
(
gcontext
,
fliptf
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment