Functions
Link copied to clipboard
fun fromFile(file: String, size: Double, characterSet: Set<Char> = defaultFontmapCharacterSet, contentScale: Double = 1.0): FontImageMap
Creates or retrieves a cached FontImageMap
instance from a file source. The FontImageMap
is generated or identified based on the provided parameters such as file path, font size, character set, and content scaling.