SetaPDF_Core_Font_TrueType_Table_Post A class representing the PostScript Table (post) in a TrueType file.

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

Class hierarchy

Summary

Constants

TAG

The tag name of this class


Properties

$_data

Data of the table

$_entries

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

We only implement getters for default entries (for all versions, explicitly 1.0 and 3.0).

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

_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()

Release memory.

getItalicAngle()

public float|mixed|null SetaPDF_Core_Font_TrueType_Table_Post::getItalicAngle ( void )

Get the italic angle.

Italic angle in counter-clockwise degrees from the vertical. Zero for upright text, negative for text that leans to the right (forward).

getMaxMemType1()

Get the maximum memory usage when an OpenType font is downloaded as a Type 1 font.

getMaxMemType42()

Get the maximum memory usage when an OpenType font is downloaded.

getMinMemType1()

Get the minimum memory usage when an OpenType font is downloaded as a Type 1 font.

getMinMemType42()

Get the minimum memory usage when an OpenType font is downloaded.

getRecord()

getUnderlinePosition()

Get the suggested distance of the top of the underline from the baseline.

getUnderlineThickness()

Get the suggested values for the underline thickness.

getVersion()

Get the version.

isFixedPitch()

Checks whether the font is proportionally or not proportionally spaced.

Return Values

0 = proportionally, non-zeor = not proportionally