FontManagerOptions
struct · ferroui-base · v0.5.0
struct FontManagerOptions
Options to customize the behavior of the font manager.
Members
default_family_name
default_family_name: Option<String>
Gets or sets the default font family's name.
font_fallbacks
font_fallbacks: Option<Vec<crate::media::FontFallback>>
Gets or sets the font fallbacks.
A fallback contains a family name and an optional UnicodeRange.
font_family_mappings
font_family_mappings: Option<std::collections::HashMap<String, crate::media::FontFamily>>
Gets or sets the font family mappings.
A font family mapping is a dictionary that defines family names to be replaced by a different font family. Names are matched ignoring case.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeClassDefaultsBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedErasedDestructorIntoEitherCloneDebugDefault
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.