FontRef.metrics

Result!(FontMetrics, TextError) metrics() @safe nothrow @nogc const;

Returns

Ascent, descent and line gap at the pixel size, 26.6, or

UNSUPPORTED when the face carries no such metrics.