SetaPDF_Core_Font_TrueType_Table_Os2 A class representing the OS/2 and Windows Metrics Table (OS/2) in a TrueType file.

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

Class hierarchy

Summary

Constants

TAG

The tag name of this class


Properties

$_data

protected array SetaPDF_Core_Font_TrueType_Table_Os2::$_data = array()

Data of the table

$_entries

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

The entries in this table

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

getAvgCharWidth()

Get the average weighted escapement.

getBreakChar()

Get the break character.

getCapHeight()

Get the distance between the baseline and the approximate height of uppercase letters.

getCodePageRange1()

Get Code Page Character Range 1.

getCodePageRange2()

Get Code Page Character Range 2.

getDefaultChar()

Get the default character code that should be used whenever a requested character is not in the font.

getFamilyClass()

Get the font-family class and subclass.

getFirstCharIndex()

Get the minimum Unicode index (character code) in this font.

getFsSelection()

Get font selection flags.

getFsType()

Get the type flags.

getLastCharIndex()

Get the maximum Unicode index (character code) in this font.

getLowerOpticalPointSize()

Get the lower value of the size range for which this font has been designed.

getMaxContext()

Get the maximum length of a target glyph context for any feature in this font.

getPanose()

Get the PANOSE classification number.

getRecord()

getStrikeoutPosition()

Get the strikeout position.

getStrikeoutSize()

Get the strikeout size.

getSubscriptXOffset()

Get the subscript x offset.

getSubscriptXSize()

Get the subscript horizontal font size.

getSubscriptYOffset()

Get the subscript y offset.

getSubscriptYSize()

Get the subscript vertical font size.

getSuperscriptXOffset()

Get the superscript x offset.

getSuperscriptXSize()

Get the superscript horizontal font size.

getSuperscriptYOffset()

Get the superscript y offset.

getSuperscriptYSize()

Get the superscript vertical font size.

getTypoAscender()

Get the typographic ascender for this font.

getTypoDescender()

Get the typographic descender for this font.

getTypoLineGap()

Get the typographic line gap for this font.

getUnicodeRange1()

Get Unicode Character Range 1.

getUnicodeRange2()

Get Unicode Character Range 2.

getUnicodeRange3()

Get Unicode Character Range 3.

getUnicodeRange4()

Get Unicode Character Range 4.

getUpperOpticalPointSize()

Get the upper value of the size range for which this font has been designed.

getVendorId()

Get the Font Vendor Identification.

getVersion()

Get the OS/2 table version number.

getWeightClass()

Get the weight class.

getWidthClass()

Get the width class.

getWinAscent()

Get the ascender metric for Windows.

getWinDescent()

Get the descender metric for Windows.

getXHeight()

Get the distance between the baseline and the approximate height of non-ascending lowercase letters.