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

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

Class hierarchy

Summary

Properties

$_data

protected array SetaPDF_Core_Font_TrueType_Table_CharacterToGlyphIndexMapping_SegmentToDelta::$_data = array()

Data of the table

$_endCodes

protected array SetaPDF_Core_Font_TrueType_Table_CharacterToGlyphIndexMapping_SegmentToDelta::$_endCodes = array()

The end codes

$_entries

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

The entries of this subtable

$_idDeltas

protected array SetaPDF_Core_Font_TrueType_Table_CharacterToGlyphIndexMapping_SegmentToDelta::$_idDeltas = array()

The id delta valuess

$_idRangeOffsets

protected array SetaPDF_Core_Font_TrueType_Table_CharacterToGlyphIndexMapping_SegmentToDelta::$_idRangeOffsets = array()

The id range offsets

$_rangeOffsetPosition

private integer SetaPDF_Core_Font_TrueType_Table_CharacterToGlyphIndexMapping_SegmentToDelta::$_rangeOffsetPosition

The range offset position

$_rawData

protected array SetaPDF_Core_Font_TrueType_Table_CharacterToGlyphIndexMapping_SegmentToDelta::$_rawData = array()

Raw binary data read from the file

$_record

protected SetaPDF_Core_Font_TrueType_Table_Record SetaPDF_Core_Font_TrueType_Table_CharacterToGlyphIndexMapping_SegmentToDelta::$_record

The main table record.

$_searchIterations

private integer SetaPDF_Core_Font_TrueType_Table_CharacterToGlyphIndexMapping_SegmentToDelta::$_searchIterations

The search iteration count

$_searchRange

private integer SetaPDF_Core_Font_TrueType_Table_CharacterToGlyphIndexMapping_SegmentToDelta::$_searchRange

The search range value

$_segmentCount

private integer SetaPDF_Core_Font_TrueType_Table_CharacterToGlyphIndexMapping_SegmentToDelta::$_segmentCount

The segment count

$_segments

protected array SetaPDF_Core_Font_TrueType_Table_CharacterToGlyphIndexMapping_SegmentToDelta::$_segments = array()

The segments

$_startCodes

protected array SetaPDF_Core_Font_TrueType_Table_CharacterToGlyphIndexMapping_SegmentToDelta::$_startCodes = array()

The start codes

$_tableRead

protected bool SetaPDF_Core_Font_TrueType_Table_CharacterToGlyphIndexMapping_SegmentToDelta::$_tableRead = false

Flag specifying that the table data were read


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
 

_readTable()

getEntrySelector()

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.

getRangeShift()

getRecord()

getSearchRange()

getSegCountX2()

Get the doubled segmentation count.