fontconfig: font list

This commit is contained in:
Mitchell Hashimoto
2022-09-14 10:14:09 -07:00
parent ce899dca11
commit eb2ce495b3
6 changed files with 40 additions and 3 deletions

View File

@@ -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),