SetaPDF_Core_Font_TrueType_Table_CharacterToGlyphIndexMapping_SegmentedCoverage A class representing a subtable "Format 12: Segmented coverage".

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

Class hierarchy

Summary

Properties

$_entries

The entries of this subtable

$_rawData

Raw binary data read from the file


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
 

cleanUp()

public void SetaPDF_Core_Font_TrueType_Table::cleanUp ( void )

Release memory.

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_SegmentedCoverage::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.

getNGroups()

public integer SetaPDF_Core_Font_TrueType_Table_CharacterToGlyphIndexMapping_SegmentedCoverage::getNGroups ( void )

Get the number of groups.

getRecord()

public SetaPDF_Core_Font_TrueType_Table_Record SetaPDF_Core_Font_TrueType_Table::getRecord ( void )

Get the record object.