From 2c44010554e824023085c5800c9acfab6c5043dd Mon Sep 17 00:00:00 2001 From: Guille Gonzalez Date: Fri, 9 Jan 2026 16:16:17 +0100 Subject: [PATCH] Add Font public initializer --- Sources/SwiftUIMath/Font.swift | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Sources/SwiftUIMath/Font.swift b/Sources/SwiftUIMath/Font.swift index 5144d46..6ccdb01 100644 --- a/Sources/SwiftUIMath/Font.swift +++ b/Sources/SwiftUIMath/Font.swift @@ -16,6 +16,11 @@ extension Math { public let name: Name public let size: CGFloat + + public init(name: Name, size: CGFloat) { + self.name = name + self.size = size + } } }