mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-08-25 00:21:46 +00:00
fontconfig: font list
This commit is contained in:
@@ -21,7 +21,7 @@ pub const FontSet = opaque {
|
||||
return @ptrCast(*Pattern, self.cval().fonts[idx]);
|
||||
}
|
||||
|
||||
inline fn cval(self: *FontSet) *c.struct__FcFontSet {
|
||||
pub inline fn cval(self: *FontSet) *c.struct__FcFontSet {
|
||||
return @ptrCast(
|
||||
*c.struct__FcFontSet,
|
||||
@alignCast(@alignOf(c.struct__FcFontSet), self),
|
||||
|
||||
Reference in New Issue
Block a user