loadFont

actual external fun loadFont(bytes: ByteArray)
expect fun loadFont(bytes: ByteArray)

Loads the primary font for text rendering.

Parameters

bytes

Raw bytes of the font file (TTF/OTF)

actual external fun loadFont(bytes: ByteArray)