pub fn hint_factor(size: Pixels, scale_factor: Option<f32>) -> Option<f32>
Returns the ideal hint factor given the size and scale factor of some text.