Log inGet started
Package

fonts.module

Newest version

This package holds more than this page lists. See all of its files in its world.

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())