pub fn ascent(&self, size: f32) -> f32 {
        let ascent = self.face.ascender();
        self.face
            .units_per_em()
            .and_then(|units_per_em| Some((ascent as f32 / units_per_em as f32) * size))
            .expect("units_per_em")
    }
/// Get the ascent, in pixels, for this font at the specified size.
Get the ascent, in pixels, for this font at the specified size.
Get the ascent in pixels for this font at the specified size .
pub fn ascent(&self, size: f32) -> f32 {
        let ascent = self.face.ascender();
        self.face
            .units_per_em()
            .and_then(|units_per_em| Some((ascent as f32 / units_per_em as f32) * size))
            .expect("units_per_em")
    }
pub fn ascent ( & self , size : f32 ) -> f32 { let ascent = self . face . ascender ( ) ; self . face . units_per_em ( ) . and_then ( | units_per_em | Some ( ( ascent as f32 / units_per_em as f32 ) * size ) ) . expect ( " " ) }
Get the ascent, in pixels, for this font at the specified size.
Get the ascent in pixels for this font at the specified size .
&self
size
f32
&self
size
f32