FontMetrics.getHeight

int getHeight()

Gets the line height from a font metrics structure.

The line height is the recommended distance between successive baselines in wrapped text using this font.

If the line height is not available, 0 is returned.

Returns

the height, in Pango units