pub type RunWidth<'a> = &'a dyn Fn(&str, f64, FontFace) -> f64;
Measures a run: (text, size, face) -> width in px.
(text, size, face) -> width