fontMapFromUrl
abstract fun fontMapFromUrl(url: String, size: Double, characterSet: Set<Char>, contentScale: Double = 1.0): FontImageMap(source)
Generates a FontImageMap
from a font located at the specified URL, with the given font size, character set, and optional content scaling factor.
Return
A FontImageMap
containing the pre-rendered characters, their metrics, and texture data.
Parameters
url
The URL of the font file to be used for rendering.
size
The font size to be used in rendering the characters in the font image map.
characterSet
The set of characters to include in the generated font image map.
contentScale
The scaling factor for rendering the font. Defaults to 1.0
.