pub const DEFAULT_LINE_HEIGHT_MULTIPLIER: f32 = 1.2; // 1.20000005f32Expand description
Re-export of lumen_core::components::DEFAULT_LINE_HEIGHT_MULTIPLIER
for crates (e.g. lumen-text-cosmic) that depend on lumen-text but
not directly on lumen-core.
Default CSS line-height: normal multiplier - the single Rust
fallback used wherever no line-height value reaches the layout /
shaping / paint path. Common browsers use ~1.2; Lumen matches that.
This is the sole line-height ratio in the codebase; text_block_top
and text_baseline_in_line take the resolved line height (see
resolve_line_height) rather than re-deriving it from size_px and
a hardcoded factor, so an authored CSS line-height moves the text
block and baseline the same way it moves everything else.