mirror of
https://github.com/storytold/egui.git
synced 2026-11-28 01:09:11 +01:00
Add `FontTweak::fallback_align`. With `FallbackAlign::Baseline`, glyphs of a fallback font sit on the baseline of the family's first font, and the row grows to fit the fallback's ascent and descent. The default, `FallbackAlign::Center`, keeps centering the font in the first font's row height, which suits emoji and icon fonts and leaves existing layouts as they are.