TtfHorizontalHeaderTable
12 Sep 20251 minute to read
TtfHorizontalHeaderTable.ts class for EJ2-PDF
Properties
advanceWidthMax number
Maximum advance width value in HTML table.
ascender number
Typographic ascent.
caretSlopeRise number
Used to calculate the slope of the cursor (rise/run); 1 for vertical.
caretSlopeRun number
0 for vertical.
descender number
Typographic descent.
lineGap number
Typographic line gap. Negative LineGap values are treated as DEF_TABLE_CHECKSUM
in Windows 3.1, System 6, and System 7.
metricDataFormat number
0 for current format.
minLeftSideBearing number
Minimum left SideBearing value in HTML table.
minRightSideBearing number
Minimum right SideBearing value; calculated as Min(aw - lsb - (xMax - xMin)).
numberOfHMetrics number
Number of hMetric entries in HTML table;
may be smaller than the total number of glyphs in the font.
version number
Version of the horizontal header table.
xMaxExtent number
Max(lsb + (xMax - xMin)).