class MTFont : Any
<init> |
MTFont(assets: AssetManager, name: String, fontSize: Float, isCopy: Boolean = false) |
fontSize |
val fontSize: Float |
mathTable |
var mathTable: MTFontMathTable |
name |
val name: String |
copyFontWithSize |
fun copyFontWithSize(size: Float): MTFont
|
findGlyphForCharacterAtIndex |
fun findGlyphForCharacterAtIndex(index: Int, str: String): CGGlyph |
getGidListForString |
fun getGidListForString(str: String): List<Int> |
getGlyphName |
fun getGlyphName(gid: Int): String
|
getGlyphWithName |
fun getGlyphWithName(glyphName: String): Int
|