SetaPDF_Core_Font_TrueType_Table_HorizontalHeader A class representing the Horizontal Header Table (hhea) in a TrueType file. https://www.microsoft.com/typography/otspec/hhea.htm

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

Class hierarchy

Summary

Constants

TAG

The tag name of this class


Properties

$_data

protected array SetaPDF_Core_Font_TrueType_Table::$_data = array()

Data of the table

$_entries

The entries of this table.

$_rawData

protected array SetaPDF_Core_Font_TrueType_Table::$_rawData = array()

Raw binary data read from the file


Static Methods

getClassName()

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

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

Parameters
$tag : string
 

Methods

_get()

protected SetaPDF_Core_Font_TrueType_Table::_get (
string $name
): mixed

Get a value from the table.

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

Parameters
$name : string
 

_getRaw()

protected SetaPDF_Core_Font_TrueType_Table::_getRaw (
string $name
): mixed

Get raw data from a specific table.

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

Parameters
$name : string
 

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.

getEntry()

Parameters
$name
 

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 side bearing value in 'hmtx' table.

getMinRightSideBearing()

Get the minimum right side bearing 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 side bearing value.