setasign\SetaPDF2\Core\Font\TrueType\Table
CharacterToGlyphIndexMapping A class representing the Character To Glyph Index Mapping Table (cmap) in a TrueType file. https://www.microsoft.com/typography/otspec/cmap.htm
File: /SetaPDF v2/Core/Font/TrueType/Table/CharacterToGlyphIndexMapping.php
Old class name (alias):
\SetaPDF_Core_Font_TrueType_Table_CharacterToGlyphIndexMapping
Class hierarchy
Summary
Constants
PLATFORM_CUSTOM
Custom Platform
PLATFORM_MAC
Macintosh Platform
PLATFORM_UNICODE
Unicode Platform
PLATFORM_WINDOWS
Windows Platform
TAG
The tag name of this class
Properties
Static Methods
Methods
__construct()
_get()
Get a value from the table.
The properties are defined in the $_entries property of an implemented table.
Parameters
- $name : string
_getRaw()
Get raw data from a specific table.
The properties are defined in the $_entries property of an implemented table.
Parameters
- $name : string
getSubTable()
public CharacterToGlyphIndexMapping::getSubTable (
int $platformId,
int $encodingId
): false|\SetaPDF_Core_Font_TrueType_Table_CharacterToGlyphIndexMapping_SubTableint $encodingId
Get a sub table.
Parameters
- $platformId : int
- $encodingId : int
hasSubTable()
Checks if a sub table exists in this font.
Parameters
- $platformId : int
- $encodingId : int