setasign\SetaPDF2\Core\Font\TrueType\Table

MaximumProfile A class representing the Maximum Profile (maxp) in a TrueType file. https://www.microsoft.com/typography/otspec/maxp.htm

File: /SetaPDF v2/Core/Font/TrueType/Table/MaximumProfile.php
Old class name (alias): \SetaPDF_Core_Font_TrueType_Table_MaximumProfile

Class hierarchy

Summary

Constants

TAG

public const string MaximumProfile::TAG = 'maxp'

The tag name of this class


Properties

$_data

protected array AbstractTable::$_data = array()

Data of the table

$_entries

protected array MaximumProfile::$_entries = array(...)

The entries of this table.

$_rawData

protected array AbstractTable::$_rawData = array()

Raw binary data read from the file

$_record


Static Methods

getClassName()

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

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

Parameters
$tag : string
 

Methods

__construct()

_get()

protected AbstractTable::_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 AbstractTable::_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()

public AbstractTable::cleanUp (
void
): void

Release memory.

getEntry()

public AbstractTable::getEntry (
$name
): void
Parameters
$name
 

getMaxComponentDepth()

public MaximumProfile::getMaxComponentDepth (
void
): int

Get the maximum levels of recursion.

getMaxComponentElements()

Get the maximum number of components referenced at “top level” for any composite glyph.

getMaxCompositeContours()

Get the maximum contours in a composite glyph.

getMaxCompositePoints()

Get the maximum points in a composite glyph.

getMaxContours()

public MaximumProfile::getMaxContours (
void
): int

Get the maximum contours in a non-composite glyph.

getMaxFunctionDefs()

public MaximumProfile::getMaxFunctionDefs (
void
): int

Get the number of FDEFs.

getMaxInstructionDefs()

Get the number of IDEFs.

getMaxPoints()

public MaximumProfile::getMaxPoints (
void
): int

Get the maximum points in a non-composite glyph.

getMaxSizeOfInstructions()

Get the maximum byte count for glyph instructions.

getMaxStackElements()

public MaximumProfile::getMaxStackElements (
void
): int

Get the maximum stack depth.

getMaxStorage()

public MaximumProfile::getMaxStorage (
void
): int

Get the number of Storage Area locations.

getMaxTwilightPoints()

public MaximumProfile::getMaxTwilightPoints (
void
): int

Get the maximum points used in Z0.

getMaxZones()

public MaximumProfile::getMaxZones (
void
): int

Get whether to use the twilight zone (Z0) or not.

getNumGlyphs()

public MaximumProfile::getNumGlyphs (
void
): int

Get the number of glyphs in the font.

getRecord()

Get the record object.

getVersion()

public MaximumProfile::getVersion (
void
): float

Get the version.