setasign\SetaPDF2\Core\Font\TrueType\Table\CharacterToGlyphIndexMapping
SubTable A class representing a subtable of a Character To Glyph Index Mapping Table.
File: /SetaPDF v2/Core/Font/TrueType/Table/CharacterToGlyphIndexMapping/SubTable.php
Old class name (alias):
\SetaPDF_Core_Font_TrueType_Table_CharacterToGlyphIndexMapping_SubTable
Class hierarchy
Summary
Properties
$_record
protected \SetaPDF_Core_Font_TrueType_Table_Record \setasign\SetaPDF2\Core\Font\TrueType\Table\AbstractTable::$_record
The main table record.
Static Methods
getClassName()
public static \setasign\SetaPDF2\Core\Font\TrueType\Table\AbstractTable::getClassName (
string $tag
): stringGet a class name for a specific table by its tag name.
Parameters
- $tag : string
Methods
__construct()
The constructor.
Parameters
- $record : \SetaPDF_Core_Font_TrueType_Table_Record
_get()
Get a value from the table.
The properties are defined in the $_entries property of an implemented table.
Parameters
- $name : string
_getRaw()
protected \setasign\SetaPDF2\Core\Font\TrueType\Table\AbstractTable::_getRaw (
string $name
): mixedGet raw data from a specific table.
The properties are defined in the $_entries property of an implemented table.
Parameters
- $name : string
getAll()
Get all character code to glyph id mappings.
Return Values
The key is the unicode point and the value the glyph id.
Exceptions
getRecord()
public \setasign\SetaPDF2\Core\Font\TrueType\Table\AbstractTable::getRecord (
void
): \SetaPDF_Core_Font_TrueType_Table_RecordGet the record object.