setasign\SetaPDF2\Core\Font\TrueType\Subset\Table
CharacterToGlyphIndexMapping This class represents the "cmap" table in a sub-setting context.
File: /SetaPDF v2/Core/Font/TrueType/Subset/Table/CharacterToGlyphIndexMapping.php
Old class name (alias):
\SetaPDF_Core_Font_TrueType_Subset_Table_CharacterToGlyphIndexMapping
See https://www.microsoft.com/typography/otspec/cmap.htm for more details.
Class hierarchy
Summary
Properties
$_subtables
protected \SetaPDF_Core_Font_TrueType_Subset_Table_CharacterToGlyphIndexMapping_SubTable[][] CharacterToGlyphIndexMapping::$_subtables = array()
The subtables.
Static Methods
getClassName()
Methods
__construct()
getSubTable()
public CharacterToGlyphIndexMapping::getSubTable (
int $platformId,
int $encodingId
): false|\SetaPDF_Core_Font_TrueType_Subset_Table_CharacterToGlyphIndexMapping_SubTableint $encodingId
Gets a subtable.
Parameters
- $platformId : int
- $encodingId : int
hasSubTable()
Checks whether the table already contains the given subtable or not.
Parameters
- $plaformId : int
- $encodingId : int
setSubTable()
public CharacterToGlyphIndexMapping::setSubTable (
int $platformId,
int $encodingId,
\SetaPDF_Core_Font_TrueType_Subset_Table_CharacterToGlyphIndexMapping_SubTable $table
): voidint $encodingId,
\SetaPDF_Core_Font_TrueType_Subset_Table_CharacterToGlyphIndexMapping_SubTable $table
Sets a subtable.
Parameters
- $platformId : int
- $encodingId : int
- $table : \SetaPDF_Core_Font_TrueType_Subset_Table_CharacterToGlyphIndexMapping_SubTable