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
$_endCodes
The end codes
$_entries
The entries of this subtable
$_idDeltas
The id delta valuess
$_idRangeOffsets
The id range offsets
$_rangeOffsetPosition
The range offset position
$_searchIterations
The search iteration count
$_searchRange
The search range value
$_segmentCount
The segment count
$_segments
The segments
$_startCodes
The start codes
$_tableRead
Flag specifying that the table data were read
Static Methods
Methods
__construct()
The constructor.
Parameters
- $record : SetaPDF_Core_Font_TrueType_Table_Record
_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
_readTable()
Reads the table data.
cleanUp()
Release memory.
getAll()
Get all character code to glyph id mappings.
Return Values
The key is the unicode point and the value the glyph id.
Exceptions
getEntrySelector()
Get the entry selector value.
getFormat()
Get the format of this subtable.
getGlyphIndex()
Get the glyph index by a character code.
Parameters
- $charCode : integer
Exceptions
getLanguage()
Get the language of this subtable.
getLength()
Get the length of this subtable.
getRangeShift()
Get the range shoft value.
getRecord()
Get the record object.
getSearchRange()
Get the search range value.
getSegCountX2()
Get the doubled segmentation count.