font: remove the old comment about not doing the grey stroke

This commit is contained in:
Mitchell Hashimoto
2023-06-30 13:54:13 -07:00
parent 45da58188c
commit 4d7a2c9f05

View File

@ -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);