setasign\SetaPDF2\Core\Font\TrueType\Subset\Table

MaximumProfile This class represents the "maxp" table in a sub-setting context.

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

See https://www.microsoft.com/typography/otspec/maxp.htm for more details.

Class hierarchy

Summary

Properties

$_changedData

protected array AbstractTable::$_changedData = array()

The modified data.

$_originalTable


Static Methods

getClassName()

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

Get a class name by tag name.

Parameters
$tag : string
 
Exceptions

Throws \InvalidArgumentException


Methods

cleanUp()

public AbstractTable::cleanUp (
void
): void

Release memory and cycled references.

getOriginalTable()

Gets the original table.

setMaxComponentDepth()

public MaximumProfile::setMaxComponentDepth (
int $value
): void

Sets the maximum number of levels of recursion; 1 for simple components.

Parameters
$value : int
 

setMaxComponentElements()

public MaximumProfile::setMaxComponentElements (
int $value
): void

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

Parameters
$value : int
 

setMaxCompositeContours()

public MaximumProfile::setMaxCompositeContours (
int $value
): void

Sets the maximum number of contours in a composite glyph.

Parameters
$value : int
 

setMaxCompositePoints()

public MaximumProfile::setMaxCompositePoints (
int $value
): void

Sets the maximum number of points in a composite glyph.

Parameters
$value : int
 

setMaxContours()

public MaximumProfile::setMaxContours (
int $value
): void

Sets the maximum number of contours in a non-composite glyph.

Parameters
$value : int
 

setMaxPoints()

public MaximumProfile::setMaxPoints (
int $value
): void

Sets the maximum number of points in a non-composite glyph.

Parameters
$value : int
 

setMaxSizeOfInstructions()

public MaximumProfile::setMaxSizeOfInstructions (
int $value
): void

Sets the maximum byte count for glyph instructions.

Parameters
$value : int
 

setNumGlyphs()

public MaximumProfile::setNumGlyphs (
int $value
): void

Sets the number of glyphs in the font.

Parameters
$value : int
 

write()

Writes the table.

Parameters
$writer : \SetaPDF_Core_Writer_WriterInterface