pub struct Metrics {
pub units_per_em: Number,
pub clipping_ascender: Number,
pub ascender: Number,
pub cap_height: Number,
pub x_height: Number,
pub baseline: Number,
pub descender: Number,
pub clipping_descender: Number,
pub line_gap: Number,
}
Expand description
Metrics.
Fields§
§units_per_em: Number
The granularity of the coordinate grid.
clipping_ascender: Number
The point above which clipping can safely occur.
ascender: Number
The typographical ascender relative to the baseline.
cap_height: Number
The cap height relative to the baseline.
x_height: Number
The x-height relative to the baseline.
baseline: Number
The baseline.
descender: Number
The typographical descender relative to the baseline.
clipping_descender: Number
The point below which clipping can safely occur.
line_gap: Number
The typographical line gap.