From 2762cbee85c4bec5f29d197176a6270a4ee66541 Mon Sep 17 00:00:00 2001 From: Michael Griebling Date: Tue, 12 Sep 2023 07:59:07 -0400 Subject: [PATCH] Removed font warning in print. --- Sources/SwiftMath/MathBundle/MathFont.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/SwiftMath/MathBundle/MathFont.swift b/Sources/SwiftMath/MathBundle/MathFont.swift index d7abd7c..129c350 100644 --- a/Sources/SwiftMath/MathBundle/MathFont.swift +++ b/Sources/SwiftMath/MathBundle/MathFont.swift @@ -104,7 +104,7 @@ private class BundleManager { guard CTFontManagerRegisterGraphicsFont(defaultCGFont, &errorRef) else { throw FontError.registerFailed } - print("mathFonts bundle resource: \(mathFont.rawValue), font: \(defaultCGFont.fullName) registered.") + print("mathFonts bundle resource: \(mathFont.rawValue), font: \(defaultCGFont.fullName!) registered.") } private func registerMathTable(mathFont: MathFont) throws {