pub const DEFAULT_LINE_HEIGHT_MULTIPLIER: f32 = 1.2;Expand description
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.