fn check_font_metric( name: &str, value: Option<Result<f64, KeyPaintError>>, ) -> Result<f64, KeyPaintError>