From 9d42487ee5088e2d4f9d938746e9fa3712bac0db Mon Sep 17 00:00:00 2001 From: Peter Tang Date: Fri, 15 Sep 2023 11:32:59 +0800 Subject: [PATCH] use debugPrint instead. --- Sources/SwiftMath/MathBundle/MathFont.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/SwiftMath/MathBundle/MathFont.swift b/Sources/SwiftMath/MathBundle/MathFont.swift index 87b3a4e..d2f65f6 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.") + debugPrint("mathFonts bundle resource: \(mathFont.rawValue), font: \(defaultCGFont.fullName!) registered.") } private func registerMathTable(mathFont: MathFont) throws { @@ -118,7 +118,7 @@ private class BundleManager { throw FontError.invalidMathTable } mathTables[mathFont] = rawMathTable - print("mathFonts bundle resource: \(mathFont.rawValue).plist registered.") + debugPrint("mathFonts bundle resource: \(mathFont.rawValue).plist registered.") } private func registerAllBundleResources() {