pub fn vertical_line_metrics(&self, px: f32) -> Option<LineMetrics> {
        if let Some(metrics) = self.vertical_line_metrics {
            Some(metrics.scale(Self::scale_factor(px, self.units_per_em)))
        } else {
            None
        }
    }
/// The new line height for the font. Only populated for fonts with horizontal text layout
/// metrics. None if unpopulated.
The new line height for the font. Only populated for fonts with horizontal text layout
metrics. None if unpopulated.
The new line height for the font . Only populated for fonts with horizontal text layout metrics . None if unpopulated .
pub fn vertical_line_metrics(&self, px: f32) -> Option<LineMetrics> {
        if let Some(metrics) = self.vertical_line_metrics {
            Some(metrics.scale(Self::scale_factor(px, self.units_per_em)))
        } else {
            None
        }
    }
pub fn vertical_line_metrics ( & self , px : f32 ) -> Option < LineMetrics > { if let Some ( metrics ) = self . vertical_line_metrics { Some ( metrics . scale ( Self :: scale_factor ( px , self . units_per_em ) ) ) } else { None } }
The new line height for the font.
The new line height for the font .
&self
px
f32
&self
px
f32