SetaPDF_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
See https://www.microsoft.com/typography/otspec/maxp.htm for more details.
Class hierarchy
Summary
Properties
Static Methods
getClassName()
Methods
__construct()
The constructor.
Parameters
getOriginalTable()
public SetaPDF_Core_Font_TrueType_Subset_Table::getOriginalTable (
void
): SetaPDF_Core_Font_TrueType_TableGets the original table.
setMaxComponentDepth()
public SetaPDF_Core_Font_TrueType_Subset_Table_MaximumProfile::setMaxComponentDepth (
int $value
): voidSets the maximum number of levels of recursion; 1 for simple components.
Parameters
- $value : int
setMaxComponentElements()
public SetaPDF_Core_Font_TrueType_Subset_Table_MaximumProfile::setMaxComponentElements (
int $value
): voidSets the maximum number of components referenced at “top level” for any composite glyph.
Parameters
- $value : int
setMaxCompositeContours()
public SetaPDF_Core_Font_TrueType_Subset_Table_MaximumProfile::setMaxCompositeContours (
int $value
): voidSets the maximum number of contours in a composite glyph.
Parameters
- $value : int
setMaxCompositePoints()
public SetaPDF_Core_Font_TrueType_Subset_Table_MaximumProfile::setMaxCompositePoints (
int $value
): voidSets the maximum number of points in a composite glyph.
Parameters
- $value : int
setMaxContours()
Sets the maximum number of contours in a non-composite glyph.
Parameters
- $value : int
setMaxSizeOfInstructions()
public SetaPDF_Core_Font_TrueType_Subset_Table_MaximumProfile::setMaxSizeOfInstructions (
int $value
): voidSets the maximum byte count for glyph instructions.
Parameters
- $value : int
write()
Writes the table.
Parameters
- $writer : SetaPDF_Core_Writer_WriterInterface