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

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

Class hierarchy

Summary

Constants

TAG

const string SetaPDF_Core_Font_TrueType_Table_Post::TAG = 'post'

The tag name of this class


Properties

$_data

protected array SetaPDF_Core_Font_TrueType_Table_Post::$_data = array()

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

protected array SetaPDF_Core_Font_TrueType_Table_Post::$_rawData = array()

Raw binary data read from the file

$_record

protected SetaPDF_Core_Font_TrueType_Table_Record SetaPDF_Core_Font_TrueType_Table_Post::$_record

The main table record.


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
 

cleanUp()

Release memory.

getItalicAngle()

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

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