setasign\SetaPDF2\Core\Font\TrueType\Subset\Table
HorizontalHeader This class represents the "hhea" table in a sub-setting context.
File: /SetaPDF v2/Core/Font/TrueType/Subset/Table/HorizontalHeader.php
Old class name (alias):
\SetaPDF_Core_Font_TrueType_Subset_Table_HorizontalHeader
See https://www.microsoft.com/typography/otspec/hhea.htm for more details.
Class hierarchy
Summary
Properties
Static Methods
getClassName()
Methods
setMinLeftSideBearing()
Set the minimum left sidebearing value in 'hmtx' table.
Parameters
- $value : int
setMinRightSideBearing()
Sets the minimum right sidebearing value.
Calculated as Min(aw - lsb - (xMax - xMin)).
Parameters
- $value : int
setXMaxExtent()
Sets the xMax extend value.
Calculated as Max(lsb + (xMax - xMin))
Parameters
- $xMaxExtent : int