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

_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()

Release memory.

getAdvanceWidthMax()

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

getAscender()

Get the typographic ascent.

getCaretOffset()

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

getCaretSlopeRise()

Get the caret slope rise value.

getCaretSlopeRun()

Get the caret slope run value.

getDescender()

Get the typographic descent.

getLineGap()

Get the typographic line gap.

getMajorVersion()

Get the major version number of this table.

getMetricDataFormat()

Get the metric format.

getMinLeftSideBearing()

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

getMinRightSideBearing()

Get the minimum right sidebearing value.

getMinorVersion()

Get the minor version number of this table.

getNumberOfHMetrics()

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

getRecord()

getXMaxExtent()

Get the maximum right sidebearing value.