TextLineMetricsMode
enum · ferroui-base · v0.5.0
enum TextLineMetricsMode
Chooses the font metrics that contribute to a paragraph's line boxes.
Members
GlyphTypeface
GlyphTypeface
Use each actual glyph typeface, splitting its line gap above and below the baseline. This is the default behavior of the shared formatter.
FontFamily
FontFamily
Use the regular face of each originally requested font family. Glyph fallback does not change its line box; its line gap lies below the baseline, and TextLineBounds is applied before combining runs. Drawable objects contribute their full height and baseline independently.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafePropertyValueAnyValueClassDefaultsBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedErasedDestructorIntoEitherCloneCopyDebugDefaultStructuralPartialEqPartialEqEq
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.