SetaPDF_Core_Font_TrueType_Table_CharacterToGlyphIndexMapping_SegmentToDelta A class representing a subtable "Format 4: Segment mapping to delta values".

File: /SetaPDF/Core/Font/TrueType/Table/CharacterToGlyphIndexMapping/SegmentToDelta.php

Class hierarchy

Summary

Properties

$_entries

The entries of this subtable

$_idDeltas

$_idRangeOffsets

$_rangeOffsetPosition

$_rawData

Raw binary data read from the file

$_searchIterations

$_tableRead

Flag specifying that the table data were read


Static Methods

getClassName()

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

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

Parameters
$tag : $tag
 

Methods

__construct()

public SetaPDF_Core_Font_TrueType_Table::__construct ( SetaPDF_Core_Font_TrueType_Table_Record $record )

The constructor.

Parameters
$record : SetaPDF_Core_Font_TrueType_Table_Record
 

_get()

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

Get a value from the table.

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

Parameters
$name : $name
 

_getRaw()

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

Get raw data from a specific table.

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

Parameters
$name : $name
 

_readTable()

protected void SetaPDF_Core_Font_TrueType_Table_CharacterToGlyphIndexMapping_SegmentToDelta::_readTable ( void )

Reads the table data.

cleanUp()

public void SetaPDF_Core_Font_TrueType_Table_CharacterToGlyphIndexMapping_SegmentToDelta::cleanUp ( void )

Release memory.

getEntrySelector()

public integer SetaPDF_Core_Font_TrueType_Table_CharacterToGlyphIndexMapping_SegmentToDelta::getEntrySelector ( void )

Get the entry selector value.

getFormat()

public integer SetaPDF_Core_Font_TrueType_Table_CharacterToGlyphIndexMapping_SubTable::getFormat ( void )

Get the format of this subtable.

getGlyphIndex()

public integer SetaPDF_Core_Font_TrueType_Table_CharacterToGlyphIndexMapping_SegmentToDelta::getGlyphIndex ( integer $charCode )

Get the glyph index by a character code.

Parameters
$charCode : integer
 
Exceptions

Throws SetaPDF_Exception_NotImplemented

getLanguage()

public integer SetaPDF_Core_Font_TrueType_Table_CharacterToGlyphIndexMapping_SubTable::getLanguage ( void )

Get the language of this subtable.

getLength()

public integer SetaPDF_Core_Font_TrueType_Table_CharacterToGlyphIndexMapping_SubTable::getLength ( void )

Get the length of this subtable.

getRangeShift()

public integer SetaPDF_Core_Font_TrueType_Table_CharacterToGlyphIndexMapping_SegmentToDelta::getRangeShift ( void )

Get the range shoft value.

getRecord()

public SetaPDF_Core_Font_TrueType_Table_Record SetaPDF_Core_Font_TrueType_Table::getRecord ( void )

Get the record object.

getSearchRange()

public integer SetaPDF_Core_Font_TrueType_Table_CharacterToGlyphIndexMapping_SegmentToDelta::getSearchRange ( void )

Get the search range value.

getSegCountX2()

public integer SetaPDF_Core_Font_TrueType_Table_CharacterToGlyphIndexMapping_SegmentToDelta::getSegCountX2 ( void )

Get the doubled segmentation count.