Log inGet started
World

Builtin Library

Branchmain
Branchesmainpublish
Commit17bb9a973f

README.md

launcher.fonts

The brand faces the ZeroMind tab draws with. A label names one only once the trusted VM reports it registered, and draws in the default face until then.

  • DISPLAY, MONO: the display and monospace families.
  • display() -> string?, mono() -> string?: the family, once the trusted VM reports it registered; nil until then.
  • register(): read the families the trusted VM has registered.
  • ready() -> boolean: whether both faces are registered.
local Fonts = require("@builtin::modules.api.engine.launcher.fonts")
Fonts.register()
print(Fonts.ready(), Fonts.display(), Fonts.mono())