Skip to main content

line_growth

Function line_growth 

pub fn line_growth(size: f32, text_scale: f32) -> f64
Expand description

How much taller one line of size-pt text is at text_scale than at 1×; zero at or below 1×, so an authored design never shrinks.