SetaPDF_Core_Font_TrueType_Table_CharacterToGlyphIndexMapping_Trimmed A class representing a subtable "Format 6: Trimmed table mapping".

File: /SetaPDF v2/Core/Font/TrueType/Table/CharacterToGlyphIndexMapping/Trimmed.php

Class hierarchy

Summary

Properties

$_data

protected array SetaPDF_Core_Font_TrueType_Table_CharacterToGlyphIndexMapping_Trimmed::$_data = array()

Data of the table

$_entries

protected array SetaPDF_Core_Font_TrueType_Table_CharacterToGlyphIndexMapping_Trimmed::$_entries = array(...)

The entries in this subtable

$_rawData

protected array SetaPDF_Core_Font_TrueType_Table_CharacterToGlyphIndexMapping_Trimmed::$_rawData = array()

Raw binary data read from the file

$_record

protected SetaPDF_Core_Font_TrueType_Table_Record SetaPDF_Core_Font_TrueType_Table_CharacterToGlyphIndexMapping_Trimmed::$_record

The main table record.


Static Methods

getClassName()

public static SetaPDF_Core_Font_TrueType_Table::getClassName (
$tag
): string

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

Parameters
$tag
 

Methods

_get()

protected SetaPDF_Core_Font_TrueType_Table::_get (
$name
): integer|float|mixed|null

Get a value from the table.

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

Parameters
$name
 

_getRaw()

protected SetaPDF_Core_Font_TrueType_Table::_getRaw (
$name
): mixed|null

Get raw data from a specific table.

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

Parameters
$name
 

cleanUp()

Release memory.

getEntryCount()

Get the number of character codes in subrange.

getFirstCode()

Get the first character code of subrange.

getFormat()

Get the format of this subtable.

getGlyphIndex()

Get the glyph index by a character code.

Parameters
$charCode : integer
 
Exceptions

Throws SetaPDF_Exception_NotImplemented

getLanguage()

Get the language of this subtable.

getLength()

Get the length of this subtable.

getRecord()