pub fn height(&self) -> u32 {
        self.glyphs
            .first()
            .map(|glyph| {
                let scale = glyph.scale();
                let font = glyph.font();

                let VMetrics {
                    ascent, descent, ..
                } = font.v_metrics(scale);
                ((ascent - descent) as f32 * 1.1) as u32
            })
            .unwrap_or(0)
    }
/// Find out how much vertical space this `GlyphString` needs when drawn.
Find out how much vertical space this `GlyphString` needs when drawn.
Find out how much vertical space this ` GlyphString ` needs when drawn .
pub fn height(&self) -> u32 {
        self.glyphs
            .first()
            .map(|glyph| {
                let scale = glyph.scale();
                let font = glyph.font();
                let VMetrics {
                    ascent, descent, ..
                } = font.v_metrics(scale);
                ((ascent - descent) as f32 * 1.1) as u32
            })
            .unwrap_or(0)
    }
pub fn height ( & self ) -> u32 { self . glyphs . first ( ) . map ( | glyph | { let scale = glyph . scale ( ) ; let font = glyph . font ( ) ; let VMetrics { ascent , descent , .. } = font . v_metrics ( scale ) ; ( ( ascent - descent ) as f32 * 1.1 ) as u32 } ) . unwrap_or ( 0 ) }
Find out how much vertical space this `GlyphString` needs when drawn.
Find out how much vertical space this ` GlyphString ` needs when drawn .
&self
&self