Available on all platforms
staticfromBytes(bytes:Bytes):Font
staticfromFile(path:String):Font
staticloadFromBytes(bytes:Bytes):Future<Font>
staticloadFromFile(path:String):Future<Font>
staticloadFromName(path:String):Future<Font>
@:value({ name : null })new(?name:String)
ascender:Int
descender:Int
height:Int
read onlyname:String
numGlyphs:Int
src:Dynamic
underlinePosition:Int
underlineThickness:Int
unitsPerEM:Int
decompose():NativeFontData
getGlyph(character:String):Glyph
getGlyphMetrics(glyph:Glyph):GlyphMetrics
@:value({ characters : "[email protected]#$%^`'\"/\\&*()[]{}<>|:;_-+=?,. " })getGlyphs(characters:String = "[email protected]#$%^`'\"/\\&*()[]{}<>|):Array<Glyph>
renderGlyph(glyph:Glyph, fontSize:Int):Image
renderGlyphs(glyphs:Array<Glyph>, fontSize:Int):Map<Glyph, Image>