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: NumberThe granularity of the coordinate grid.
clipping_ascender: NumberThe point above which clipping can safely occur.
ascender: NumberThe typographical ascender relative to the baseline.
cap_height: NumberThe cap height relative to the baseline.
x_height: NumberThe x-height relative to the baseline.
baseline: NumberThe baseline.
descender: NumberThe typographical descender relative to the baseline.
clipping_descender: NumberThe point below which clipping can safely occur.
line_gap: NumberThe typographical line gap.