SetaPDF_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

See https://www.microsoft.com/typography/otspec/hhea.htm for more details.

Class hierarchy

Summary

Properties

$_changedData

The modified data.


Static Methods

getClassName()

public static SetaPDF_Core_Font_TrueType_Subset_Table::getClassName (
string $tag
): string

Get a class name by tag name.

Parameters
$tag : string
 
Exceptions

Throws InvalidArgumentException


Methods

cleanUp()

Release memory and cycled references.

getOriginalTable()

setAdvanceWidthMax()

Set the maximum advance width value in 'hmtx' table.

Parameters
$value : int
 

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
 

setNumberOfHMetrics()

Sets the number of hMetric entries in 'hmtx' table.

Parameters
$value : int
 

setXMaxExtent()

Sets the xMax extend value.

Calculated as Max(lsb + (xMax - xMin))

Parameters
$xMaxExtent : int
 

write()