pub type StyledTextMeasurementCallback = fn(&str, f32, f32, Option<f32>, bool, FontWeight, FontStyle) -> (f32, f32);
Global styled text measurer callback for exact font metrics measurement with weight and style.