coretext: we do want to smooth and anti-alias glyphs

This commit is contained in:
Mitchell Hashimoto
2022-10-18 12:56:02 -07:00
parent 4669032e56
commit 38e0c258d0

View File

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