Expand description
Font sourcing layer: provider trait, data types, and the bundled default.
Re-exports§
pub use local::LocalFontEntry;pub use local::scan_font_dirs;
Modules§
Structs§
- Bytes
Font Provider - In-memory font registry. Register bundled and project fonts up front; this implementation never scans the system.
- Font
Data - Resolved font bytes ready for shaping or outlining. Cheap to clone (
Arc).
Enums§
- Font
Source - Where a resolved font face came from, in resolution-priority order.
- Font
Style - The style variant of a font face.
Traits§
- Font
Provider - Resolve font bytes by family + weight + style, or by stable id.
Functions§
- default_
provider - Build a
BytesFontProviderpreloaded with the bundled default fonts.