SetaPDF_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
See https://www.microsoft.com/typography/otspec/cmap.htm for more details.
Class hierarchy
Summary
Properties
Static Methods
getClassName()
Methods
__construct()
The contructor.
Parameters
getNumTables()
public SetaPDF_Core_Font_TrueType_Subset_Table_CharacterToGlyphIndexMapping::getNumTables (
void
): intGets the number of registered subtables.
getOriginalTable()
public SetaPDF_Core_Font_TrueType_Subset_Table::getOriginalTable (
void
): SetaPDF_Core_Font_TrueType_TableGets the original table.
getSubTable()
public SetaPDF_Core_Font_TrueType_Subset_Table_CharacterToGlyphIndexMapping::getSubTable (
int $platformId, int $encodingId
): false|SetaPDF_Core_Font_TrueType_Subset_Table_CharacterToGlyphIndexMapping_SubTableGets a subtable.
Parameters
- $platformId : int
- $encodingId : int
hasSubTable()
public SetaPDF_Core_Font_TrueType_Subset_Table_CharacterToGlyphIndexMapping::hasSubTable (
int $plaformId, int $encodingId
): boolChecks whether the table already contains the given subtable or not.
Parameters
- $plaformId : int
- $encodingId : int
setSubTable()
public SetaPDF_Core_Font_TrueType_Subset_Table_CharacterToGlyphIndexMapping::setSubTable (
int $platformId, int $encodingId, SetaPDF_Core_Font_TrueType_Subset_Table_CharacterToGlyphIndexMapping_SubTable $table
): voidSets a subtable.
Parameters
- $platformId : int
- $encodingId : int
- $table : SetaPDF_Core_Font_TrueType_Subset_Table_CharacterToGlyphIndexMapping_SubTable
write()
Writes the table.
Parameters
- $writer : SetaPDF_Core_Writer_WriterInterface