Added another KpMath-Sans font.
This commit is contained in:
@@ -43,6 +43,10 @@ public class MTFontManager {
|
|||||||
MTFontManager.fontManager.font(withName: "KpMath-Light", size: size)
|
MTFontManager.fontManager.font(withName: "KpMath-Light", size: size)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public func kpMathSansFont(withSize size:CGFloat) -> MTFont? {
|
||||||
|
MTFontManager.fontManager.font(withName: "KpMath-Sans", size: size)
|
||||||
|
}
|
||||||
|
|
||||||
public func xitsFont(withSize size:CGFloat) -> MTFont? {
|
public func xitsFont(withSize size:CGFloat) -> MTFont? {
|
||||||
MTFontManager.fontManager.font(withName: "xits-math", size: size)
|
MTFontManager.fontManager.font(withName: "xits-math", size: size)
|
||||||
}
|
}
|
||||||
|
|||||||
BIN
Sources/SwiftMath/mathFonts.bundle/KpMath-Sans.otf
Normal file
BIN
Sources/SwiftMath/mathFonts.bundle/KpMath-Sans.otf
Normal file
Binary file not shown.
4346
Sources/SwiftMath/mathFonts.bundle/KpMath-Sans.plist
Normal file
4346
Sources/SwiftMath/mathFonts.bundle/KpMath-Sans.plist
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user