cleaned unnecessary comments.
This commit is contained in:
@@ -9,11 +9,6 @@ import Foundation
|
|||||||
import CoreGraphics
|
import CoreGraphics
|
||||||
import CoreText
|
import CoreText
|
||||||
|
|
||||||
// extension MathTable {
|
|
||||||
// public func fontMathTableV2() -> MTFontMathTableV2 {
|
|
||||||
// MTFontMathTableV2(mathFont: font, size: fontSize)
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
internal class MTFontMathTableV2: MTFontMathTable {
|
internal class MTFontMathTableV2: MTFontMathTable {
|
||||||
private let mathFont: MathFont
|
private let mathFont: MathFont
|
||||||
private let fontSize: CGFloat
|
private let fontSize: CGFloat
|
||||||
|
|||||||
@@ -58,13 +58,7 @@ public enum MathFont: String, CaseIterable {
|
|||||||
internal func mathTable() -> NSDictionary {
|
internal func mathTable() -> NSDictionary {
|
||||||
BundleManager.manager.obtainMathTable(font: self)
|
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 {
|
internal extension CTFont {
|
||||||
/** The size of this font in points. */
|
/** The size of this font in points. */
|
||||||
|
|||||||
Reference in New Issue
Block a user