Skip to main content

Module fonts

Module fonts 

Source
Expand description

Backend-agnostic font configuration for the editor shell.

Apps can supply their own typefaces (proportional + monospace) via the FontPack type. The shell hands them off to its UI backend (egui, etc.).

Fonts are entirely optional: if a FontPack is never provided, the backend falls back to its built-in defaults.

Structs§

FontPack
A collection of fonts grouped by family.
NamedFont
A named font face inside a pack. The name is used by the backend to register the font in its registry and (where applicable) to make it addressable by user code.

Enums§

FontHandle
A bundled font, either as a static slice or owned bytes loaded at runtime.