aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--cocoa/ScintillaCocoa.mm2
1 files changed, 2 insertions, 0 deletions
diff --git a/cocoa/ScintillaCocoa.mm b/cocoa/ScintillaCocoa.mm
index 910cd344a..3e5c46f00 100644
--- a/cocoa/ScintillaCocoa.mm
+++ b/cocoa/ScintillaCocoa.mm
@@ -1528,6 +1528,8 @@ bool ScintillaCocoa::SyncPaint(void* gc, PRectangle rc)
{
CGContextSetAllowsAntialiasing((CGContextRef)gc,
vs.extraFontFlag != SC_EFF_QUALITY_NON_ANTIALIASED);
+ CGContextSetAllowsFontSmoothing((CGContextRef)gc,
+ vs.extraFontFlag == SC_EFF_QUALITY_LCD_OPTIMIZED);
#if MAC_OS_X_VERSION_MAX_ALLOWED > MAC_OS_X_VERSION_10_5
if (CGContextSetAllowsFontSubpixelPositioning != NULL)
CGContextSetAllowsFontSubpixelPositioning((CGContextRef)gc,