MinecraftTrueTypeFace

Owner-thread native face borrowed only by one font engine. Every returned glyph is detached from the face; close releases all native handles and is idempotent.

Functions

Link copied to clipboard
abstract override fun close()

Releases this face on its owner thread without invalidating returned glyphs.

Link copied to clipboard
abstract fun glyph(codePoint: Int): MinecraftFontGlyph?

Rasterizes one Unicode scalar, returning null when the font has no glyph.