SetaPDF_Core_Font_TrueType_Table_MaximumProfile A class representing the Maximum Profile (maxp) in a TrueType file.

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

Class hierarchy

Summary

Constants

TAG

const string SetaPDF_Core_Font_TrueType_Table_MaximumProfile::TAG = 'maxp'

The tag name of this class


Properties

$_data

protected array SetaPDF_Core_Font_TrueType_Table_MaximumProfile::$_data = array()

Data of the table

$_entries

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

The entries of this table.

$_rawData

protected array SetaPDF_Core_Font_TrueType_Table_MaximumProfile::$_rawData = array()

Raw binary data read from the file

$_record

protected SetaPDF_Core_Font_TrueType_Table_Record SetaPDF_Core_Font_TrueType_Table_MaximumProfile::$_record

The main table record.


Static Methods

getClassName()

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

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

Parameters
$tag
 

Methods

_get()

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

Get a value from the table.

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

Parameters
$name
 

_getRaw()

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

Get raw data from a specific table.

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

Parameters
$name
 

cleanUp()

Release memory.

getMaxComponentDepth()

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

Get the maximum contours in a non-composite glyph.

getMaxFunctionDefs()

Get the number of FDEFs.

getMaxInstructionDefs()

Get the number of IDEFs.

getMaxPoints()

Get the maximum points in a non-composite glyph.

getMaxSizeOfInstructions()

Get the maximum byte count for glyph instructions.

getMaxStackElements()

Get the maximum stack depth.

getMaxStorage()

Get the number of Storage Area locations.

getMaxTwilightPoints()

Get the maximum points used in Z0.

getMaxZones()

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

getNumGlyphs()

Get the number of glyphs in the font.

getRecord()

getVersion()

Get the version.