mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-16 08:46:08 +03:00
coretext: we do want to smooth and anti-alias glyphs
This commit is contained in:
@ -150,9 +150,9 @@ pub const Face = struct {
|
|||||||
);
|
);
|
||||||
defer ctx.release();
|
defer ctx.release();
|
||||||
|
|
||||||
ctx.setAllowsAntialiasing(false);
|
ctx.setAllowsAntialiasing(true);
|
||||||
ctx.setShouldAntialias(false);
|
ctx.setShouldAntialias(true);
|
||||||
ctx.setShouldSmoothFonts(false);
|
ctx.setShouldSmoothFonts(true);
|
||||||
ctx.setGrayFillColor(1, 1);
|
ctx.setGrayFillColor(1, 1);
|
||||||
ctx.setGrayStrokeColor(1, 1);
|
ctx.setGrayStrokeColor(1, 1);
|
||||||
ctx.setTextDrawingMode(.fill_stroke);
|
ctx.setTextDrawingMode(.fill_stroke);
|
||||||
|
Reference in New Issue
Block a user