pub fn text_size(scale: impl Into<PxScale> + Copy, font: &impl Font, text: &str) -> (u32, u32) {
    layout_glyphs(scale, font, text, |_, _| {})
}
Get the width and height of the given text, rendered with the given font and scale.
src/drawing/text.rs