FontFaceRef.designMetrics

Result!(DesignMetrics, TextError) designMetrics() @safe nothrow @nogc const;

Returns

Ascent, descent, line gap and glyph bounding box in font

design units, or UNSUPPORTED when the format carries none.