From 4d7a2c9f05a9a823652d24b73329e482389a5025 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Fri, 30 Jun 2023 13:54:13 -0700 Subject: [PATCH] font: remove the old comment about not doing the grey stroke --- src/font/face/coretext.zig | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/font/face/coretext.zig b/src/font/face/coretext.zig index 58bbddac9..3de6f6964 100644 --- a/src/font/face/coretext.zig +++ b/src/font/face/coretext.zig @@ -175,9 +175,7 @@ pub const Face = struct { ctx.setShouldAntialias(true); ctx.setShouldSmoothFonts(true); ctx.setGrayFillColor(1, 1); - // With this set the text gets chunky. With it unset the text doesn't - // look right at small font sizes. Something isn't right. - // ctx.setGrayStrokeColor(1, 1); + ctx.setGrayStrokeColor(1, 1); ctx.setTextDrawingMode(.fill_stroke); ctx.setTextMatrix(macos.graphics.AffineTransform.identity()); ctx.setTextPosition(0, 0);