SetaPDF_Core_Font_TrueType_Table_GlyphData A class representing the Glyf Data Table (glyf) in a TrueType file.

File: /SetaPDF/Core/Font/TrueType/Table/GlyphData.php

Class hierarchy

Summary

Constants

TAG

The tag name of this class


Properties

$_data

Data of the table

$_entries

Configuration about table entries

$_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.

getGlyph()

public bool|SetaPDF_Core_Font_TrueType_Table_GlyphData_Glyph SetaPDF_Core_Font_TrueType_Table_GlyphData::getGlyph ( $glyphId $glyphId )

Get a single glyph instance.

Parameters
$glyphId : $glyphId
 

getRecord()

public SetaPDF_Core_Font_TrueType_Table_Record SetaPDF_Core_Font_TrueType_Table::getRecord ( void )

Get the record object.