tinymist_world

Module font

Source
Expand description

The font implementations for typst worlds.

The core concept is the FontResolver, implemented by FontResolverImpl.

You can construct a FontResolverImpl on systems, browsers or simply without touching any external environment. See the system, web and pure crates for more details.

The FontResolverImpl has a lot of FontSlot objects and allow to load font resources lazily.

There are also other structs, which help store and load [FontInfo] objects in the local file system or the remote machine. See the cache and [profile] crates for more details.

Re-exports§

Modules§

Structs§

Traits§

Functions§