SetaPDF_Core_Font_TrueType_Table_HorizontalHeader A class representing the Horizontal Header Table (hhea) in a TrueType file.

File: /SetaPDF/Core/Font/TrueType/Table/HorizontalHeader.php

Class hierarchy

Summary

Constants

TAG

The tag name of this class


Properties

$_data

Data of the table

$_entries

The entries of this table.

$_rawData

Raw binary data read from the file


Static Methods

getClassName()

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

Get a class name for a specific table by its tag name.

Parameters
$tag : $tag
 

Methods

__construct()

public SetaPDF_Core_Font_TrueType_Table::__construct ( SetaPDF_Core_Font_TrueType_Table_Record $record )

The constructor.

Parameters
$record : SetaPDF_Core_Font_TrueType_Table_Record
 

_get()

protected integer|float|mixed|null SetaPDF_Core_Font_TrueType_Table::_get ( $name $name )

Get a value from the table.

The properties are defined in the $_entries property of an implemented table.

Parameters
$name : $name
 

_getRaw()

protected mixed|null SetaPDF_Core_Font_TrueType_Table::_getRaw ( $name $name )

Get raw data from a specific table.

The properties are defined in the $_entries property of an implemented table.

Parameters
$name : $name
 

cleanUp()

public void SetaPDF_Core_Font_TrueType_Table::cleanUp ( void )

Release memory.

getAdvanceWidthMax()

public integer SetaPDF_Core_Font_TrueType_Table_HorizontalHeader::getAdvanceWidthMax ( void )

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

getAscender()

public integer SetaPDF_Core_Font_TrueType_Table_HorizontalHeader::getAscender ( void )

Get the typographic ascent.

getCaretOffset()

public integer SetaPDF_Core_Font_TrueType_Table_HorizontalHeader::getCaretOffset ( void )

Get the amount by which a slanted highlight on a glyph needs to be shifted to produce the best appearance.

getCaretSlopeRise()

public integer SetaPDF_Core_Font_TrueType_Table_HorizontalHeader::getCaretSlopeRise ( void )

Get the caret slope rise value.

getCaretSlopeRun()

public integer SetaPDF_Core_Font_TrueType_Table_HorizontalHeader::getCaretSlopeRun ( void )

Get the caret slope run value.

getDescender()

public integer SetaPDF_Core_Font_TrueType_Table_HorizontalHeader::getDescender ( void )

Get the typographic descent.

getLineGap()

public integer SetaPDF_Core_Font_TrueType_Table_HorizontalHeader::getLineGap ( void )

Get the typographic line gap.

getMajorVersion()

public integer SetaPDF_Core_Font_TrueType_Table_HorizontalHeader::getMajorVersion ( void )

Get the major version number of this table.

getMetricDataFormat()

public integer SetaPDF_Core_Font_TrueType_Table_HorizontalHeader::getMetricDataFormat ( void )

Get the metric format.

getMinLeftSideBearing()

public integer SetaPDF_Core_Font_TrueType_Table_HorizontalHeader::getMinLeftSideBearing ( void )

Get the minimum left sidebearing value in 'hmtx' table.

getMinRightSideBearing()

public integer SetaPDF_Core_Font_TrueType_Table_HorizontalHeader::getMinRightSideBearing ( void )

Get the minimum right sidebearing value.

getMinorVersion()

public integer SetaPDF_Core_Font_TrueType_Table_HorizontalHeader::getMinorVersion ( void )

Get the minor version number of this table.

getNumberOfHMetrics()

public integer SetaPDF_Core_Font_TrueType_Table_HorizontalHeader::getNumberOfHMetrics ( void )

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

getRecord()

public SetaPDF_Core_Font_TrueType_Table_Record SetaPDF_Core_Font_TrueType_Table::getRecord ( void )

Get the record object.

getXMaxExtent()

public integer SetaPDF_Core_Font_TrueType_Table_HorizontalHeader::getXMaxExtent ( void )

Get the maximum right sidebearing value.