pub fn text_width(text: &str) -> f64
Approximate the rendered pixel width of text at 11px Verdana (the shields.io default). Uses per-character width buckets derived from the shields.io source.
text