pub(crate) fn fit_label_to_width( label: &str, max_width: f64, base_size: usize, ) -> (String, usize)