diff --git a/pkg/macos/text/font.zig b/pkg/macos/text/font.zig index c26a0f32f..32189f809 100644 --- a/pkg/macos/text/font.zig +++ b/pkg/macos/text/font.zig @@ -51,6 +51,10 @@ pub const Font = opaque { return @ptrCast(@constCast(c.CTFontCopyFeatures(@ptrCast(self)))); } + pub fn copyDefaultCascadeListForLanguages(self: *Font) *foundation.Array { + return @ptrCast(@constCast(c.CTFontCopyDefaultCascadeListForLanguages(@ptrCast(self), null))); + } + pub fn getGlyphCount(self: *Font) usize { return @intCast(c.CTFontGetGlyphCount(@ptrCast(self))); }