pub fn into_metrics(self) -> super::Result<Metrics> {
        Ok(Metrics {
            char: self.char,
            pad: self.pad,
            chars: chars::Table::new(self.width_overrides, self.char.w, self.kerning, self.pad.w)?,
        })
    }
/// Expands this metrics spec into a full metrics set.
///
/// This precomputes width overrides.
///
/// # Errors
///
/// Fails if the metrics spec is ill-formed (eg, a width override tries to make a character
/// longer than its grid width).
Expands this metrics spec into a full metrics set.
This precomputes width overrides.
Expands this metrics spec into a full metrics set . This precomputes width overrides .
pub fn into_metrics(self) -> super::Result<Metrics> {
        Ok(Metrics {
            char: self.char,
            pad: self.pad,
            chars: chars::Table::new(self.width_overrides, self.char.w, self.kerning, self.pad.w)?,
        })
    }
pub fn into_metrics ( self ) -> super :: Result < Metrics > { Ok ( Metrics { char : self . char , pad : self . pad , chars : chars :: Table :: new ( self . width_overrides , self . char . w , self . kerning , self . pad . w ) ? , } ) }
Expands this metrics spec into a full metrics set.
Expands this metrics spec into a full metrics set .
self
errors
Fails if the metrics spec is ill-formed .
Fails if the metrics spec is ill - formed .