threadsafe MathImage and MTMathImag concurrent testScripts.

This commit is contained in:
Peter Tang
2023-09-18 14:47:45 +08:00
parent 5de5ea677e
commit 6306ab7c4b
2 changed files with 180 additions and 1 deletions

View File

@@ -47,7 +47,7 @@ public enum MathFont: String, CaseIterable {
BundleManager.manager.obtainRawMathTable(font: self)
}
//Note: Below code are no longer supported as UIFont/NSFont are not threadsafe and not used in SwiftMath.
//Note: Below code are no longer supported, unable to tell if UIFont/NSFont is threadsafe, not used in SwiftMath.
// #if os(iOS)
// public func uiFont(withSize size: CGFloat) -> UIFont? {
// UIFont(name: fontName, size: size)