pub fn derive_cap_px(metrics: &FontMetrics, size_px: f32) -> f32Expand description
Cap height (logical px) for vertical centering: the bearing of an uppercase reference glyph (‘H’), falling back to the tallest uppercase glyph, then to a fraction of the em when no metrics are available.