interface NormalizedFontMetrics {
    ascender: number;
    descender: number;
    lineGap: number;
}

Properties

ascender: number

The distance, as a fraction of 1 EM, from the baseline to the highest point of the font.

This value should be positive.

descender: number

The distance, as a fraction of 1 EM, from the baseline to the lowest point of the font.

This value should be positive.

lineGap: number

The additional space used in the calculation of the default line height as a fraction of 1 EM

This value should be positive.