cleaned unnecessary comments.

This commit is contained in:
Peter Tang
2023-09-15 11:34:21 +08:00
parent 9d42487ee5
commit b20bfd37df
2 changed files with 1 additions and 12 deletions

View File

@@ -9,11 +9,6 @@ import Foundation
import CoreGraphics
import CoreText
// extension MathTable {
// public func fontMathTableV2() -> MTFontMathTableV2 {
// MTFontMathTableV2(mathFont: font, size: fontSize)
// }
// }
internal class MTFontMathTableV2: MTFontMathTable {
private let mathFont: MathFont
private let fontSize: CGFloat

View File

@@ -58,13 +58,7 @@ public enum MathFont: String, CaseIterable {
internal func mathTable() -> NSDictionary {
BundleManager.manager.obtainMathTable(font: self)
}
// internal func get(nameForGlyph glyph: CGGlyph) -> String {
// let name = cgFont().name(for: glyph) as? String
// return name ?? ""
// }
// internal func get(glyphWithName name: String) -> CGGlyph {
// cgFont().getGlyphWithGlyphName(name: name as CFString)
// }
}
internal extension CTFont {
/** The size of this font in points. */