Expand description
Font management.
Re-exports§
pub use context::FontCache;
pub use context::FontContext;
Modules§
Structs§
- Family
Entry - Font family entry in a library.
- Family
Id - Identifier for a font family in a library.
- Family
List - Ordered sequence of family names for font selection.
- Font
- Shared reference to a font.
- Font
Entry - Font entry in a library.
- FontId
- Identifier for a font in a library.
- Font
Index - Font
Library - Indexed collection of fonts used during layout for font selection and fallback.
- Font
Library Builder - Builder for configuring a font library.
- Shared
Data - Atomically reference counted, heap allocated or memory mapped buffer.
- Source
Entry - Source entry in a library.
- Source
Id - Identifier for a font source in a library.
Enums§
- Family
Key - Key used to select a font family from a library.
- FontKey
- Key used to select a font from a library.
- Generic
Family - Describes a generic font family.
- Mmap
Hint - Hint for specifying whether font files should be memory mapped.
- Source
Kind