diff --git a/Sources/SwiftMath/MathBundle/MTFontMathTableV2.swift b/Sources/SwiftMath/MathBundle/MTFontMathTableV2.swift index cde8843..6e580bc 100644 --- a/Sources/SwiftMath/MathBundle/MTFontMathTableV2.swift +++ b/Sources/SwiftMath/MathBundle/MTFontMathTableV2.swift @@ -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 diff --git a/Sources/SwiftMath/MathBundle/MathFont.swift b/Sources/SwiftMath/MathBundle/MathFont.swift index d2f65f6..96be420 100644 --- a/Sources/SwiftMath/MathBundle/MathFont.swift +++ b/Sources/SwiftMath/MathBundle/MathFont.swift @@ -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. */