Property HheaLineGap
HheaLineGap
Gets the line gap from the horizontal header (hhea.lineGap, fUnits).
public int HheaLineGap { get; }
Property Value
Remarks
Non-zero on most faces, and on its own it says nothing about the line height: Calibri
declares 452 over a 2048 unit em and Consolas 350, yet neither leads its lines by a
single unit, because their WinAscent/WinDescent pair is
inflated to absorb the gap already. What matters is the amount by which the whole
hhea family exceeds that pair — 87 units on Times New Roman and 67 on
Arial, whose Windows pairs are the tight ones. Use
Select(FontFace, out int, out int, out int) rather than reading this directly.