mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-14 15:56:13 +03:00
font/fontconfig: support style descriptor
This commit is contained in:
@ -64,6 +64,9 @@ pub const Descriptor = struct {
|
||||
if (self.family) |family| {
|
||||
assert(pat.add(.family, .{ .string = family }, false));
|
||||
}
|
||||
if (self.style) |style| {
|
||||
assert(pat.add(.style, .{ .string = style }, false));
|
||||
}
|
||||
if (self.codepoint > 0) {
|
||||
const cs = fontconfig.CharSet.create();
|
||||
defer cs.destroy();
|
||||
|
Reference in New Issue
Block a user