fn shortened(fonts: &Measured<'_>, text: String, width: f32) -> String
text trimmed from the front until it measures inside width.
text
width