Class HheaTable
Data from the font's 'hhea' table: vertical extents and horizontal spacing limits.
public sealed record HheaTable : IEquatable<HheaTable>
- Inheritance
-
HheaTable
- Implements
- Inherited Members
Constructors
HheaTable(int, int, int, int, int, short, short, short)
Data from the font's 'hhea' table: vertical extents and horizontal spacing limits.
public HheaTable(int Ascender, int Descender, int LineGap, int AdvanceWidthMax, int NumberOfHMetrics, short MinLeftSideBearing = 0, short MinRightSideBearing = 0, short XMaxExtent = 0)
Parameters
AscenderintMaximum ascent above the baseline, in font units.
DescenderintMaximum descent below the baseline, in font units (usually negative).
LineGapintAdditional inter-line spacing, in font units.
AdvanceWidthMaxintMaximum advance width across all glyphs, in font units.
NumberOfHMetricsintNumber of entries in the horizontal metrics (hmtx) table.
MinLeftSideBearingshortMinimum left side bearing across all glyphs, in font units.
MinRightSideBearingshortMinimum right side bearing across all glyphs, in font units.
XMaxExtentshortMaximum horizontal extent (lsb + (xMax - xMin)), in font units.
Properties
AdvanceWidthMax
Maximum advance width across all glyphs, in font units.
public int AdvanceWidthMax { get; init; }
Property Value
Ascender
Maximum ascent above the baseline, in font units.
public int Ascender { get; init; }
Property Value
Descender
Maximum descent below the baseline, in font units (usually negative).
public int Descender { get; init; }
Property Value
LineGap
Additional inter-line spacing, in font units.
public int LineGap { get; init; }
Property Value
MinLeftSideBearing
Minimum left side bearing across all glyphs, in font units.
public short MinLeftSideBearing { get; init; }
Property Value
MinRightSideBearing
Minimum right side bearing across all glyphs, in font units.
public short MinRightSideBearing { get; init; }
Property Value
NumberOfHMetrics
Number of entries in the horizontal metrics (hmtx) table.
public int NumberOfHMetrics { get; init; }
Property Value
XMaxExtent
Maximum horizontal extent (lsb + (xMax - xMin)), in font units.
public short XMaxExtent { get; init; }