Skip to main content

load_pack

Function load_pack 

Source
pub fn load_pack() -> FontPack
Expand description

Attempts to load the Khora brand font pack via the asset I/O layer.

Tries every candidate root in order (next to the binary, then the crate’s assets/ directory), and the first root containing at least one of the expected files becomes the active loader. Returns an empty pack if none of the roots have any of the fonts — callers should treat that as a no-op.