SetaPDF_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

Class hierarchy

Summary

Constants

PLATFORM_CUSTOM

PLATFORM_MAC

PLATFORM_UNICODE

PLATFORM_WINDOWS

TAG

The tag name of this class


Properties

$_data

protected array SetaPDF_Core_Font_TrueType_Table::$_data = array()

Data of the table

$_entries

The entries in that table

$_rawData

protected array SetaPDF_Core_Font_TrueType_Table::$_rawData = array()

Raw binary data read from the file

$_subTableRecords

Records for the sub tables


Static Methods

getClassName()

Get a class name for a specific table by its tag name.

Parameters
$tag
 

Methods

_get()

protected SetaPDF_Core_Font_TrueType_Table::_get (
$name
):

Get a value from the table.

The properties are defined in the $_entries property of an implemented table.

Parameters
$name
 

_getRaw()

Get raw data from a specific table.

The properties are defined in the $_entries property of an implemented table.

Parameters
$name
 

_readSubTableData()

cleanUp()

Release cycled references / memory.

getEntry()

Parameters
$name
 

getNumTables()

Get the number of sub tables.

getRecord()

Get the record object.

getSubTable()

Get a sub table.

Parameters
$platformId
 
$encodingId
 

getTableInformation()

Get information about available tables.

getVersion()

hasSubTable()

Checks if a sub table exists in this font.

Parameters
$platformId
 
$encodingId