mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-17 09:16:11 +03:00
font: remove the old comment about not doing the grey stroke
This commit is contained in:
@ -175,9 +175,7 @@ pub const Face = struct {
|
|||||||
ctx.setShouldAntialias(true);
|
ctx.setShouldAntialias(true);
|
||||||
ctx.setShouldSmoothFonts(true);
|
ctx.setShouldSmoothFonts(true);
|
||||||
ctx.setGrayFillColor(1, 1);
|
ctx.setGrayFillColor(1, 1);
|
||||||
// With this set the text gets chunky. With it unset the text doesn't
|
ctx.setGrayStrokeColor(1, 1);
|
||||||
// look right at small font sizes. Something isn't right.
|
|
||||||
// ctx.setGrayStrokeColor(1, 1);
|
|
||||||
ctx.setTextDrawingMode(.fill_stroke);
|
ctx.setTextDrawingMode(.fill_stroke);
|
||||||
ctx.setTextMatrix(macos.graphics.AffineTransform.identity());
|
ctx.setTextMatrix(macos.graphics.AffineTransform.identity());
|
||||||
ctx.setTextPosition(0, 0);
|
ctx.setTextPosition(0, 0);
|
||||||
|
Reference in New Issue
Block a user