font: turn rasterization options into a struct, add thicken

This commit is contained in:
Mitchell Hashimoto
2023-07-01 09:55:19 -07:00
parent e99376cac1
commit 3795cd6c2d
9 changed files with 63 additions and 39 deletions

View File

@@ -34,6 +34,10 @@ pub const Config = struct {
else => 12,
},
/// Draw fonts with a thicker stroke, if supported. This is only supported
/// currently on macOS.
@"font-thicken": bool = false,
/// Background color for the window.
background: Color = .{ .r = 0x28, .g = 0x2C, .b = 0x34 },