mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-10-09 19:36:45 +00:00
font/coretext: allow setting a non-monospace font explicitly
This changes our font discovery to not filter out monospace and updates our scoring mechanism to prefer monospace.
This commit is contained in:
@@ -90,6 +90,7 @@ fn runArgs(alloc_gpa: Allocator, argsIter: anytype) !u8 {
|
||||
.style = config.style,
|
||||
.bold = config.bold,
|
||||
.italic = config.italic,
|
||||
.monospace = config.family == null,
|
||||
});
|
||||
defer disco_it.deinit();
|
||||
while (try disco_it.next()) |face| {
|
||||
|
Reference in New Issue
Block a user