From 38e0c258d0954ed8ec2a82d9744666eea165a34e Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Tue, 18 Oct 2022 12:56:02 -0700 Subject: [PATCH] coretext: we do want to smooth and anti-alias glyphs --- src/font/face/coretext.zig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/font/face/coretext.zig b/src/font/face/coretext.zig index 86181f0d0..ebc005f57 100644 --- a/src/font/face/coretext.zig +++ b/src/font/face/coretext.zig @@ -150,9 +150,9 @@ pub const Face = struct { ); defer ctx.release(); - ctx.setAllowsAntialiasing(false); - ctx.setShouldAntialias(false); - ctx.setShouldSmoothFonts(false); + ctx.setAllowsAntialiasing(true); + ctx.setShouldAntialias(true); + ctx.setShouldSmoothFonts(true); ctx.setGrayFillColor(1, 1); ctx.setGrayStrokeColor(1, 1); ctx.setTextDrawingMode(.fill_stroke);