SetaPDF_Core_Font_TrueType_Table_Os2 A class representing the OS/2 and Windows Metrics Table (OS/2) in a TrueType file.
File: /SetaPDF v2/Core/Font/TrueType/Table/Os2.php
Class hierarchy
Summary
Methods
- __construct()
- _get()
- _getRaw()
- cleanUp()
- getAvgCharWidth()
- getBreakChar()
- getCapHeight()
- getCodePageRange1()
- getCodePageRange2()
- getDefaultChar()
- getEntry()
- getFamilyClass()
- getFirstCharIndex()
- getFsSelection()
- getFsType()
- getLastCharIndex()
- getLowerOpticalPointSize()
- getMaxContext()
- getPanose()
- getRecord()
- getStrikeoutPosition()
- getStrikeoutSize()
- getSubscriptXOffset()
- getSubscriptXSize()
- getSubscriptYOffset()
- getSubscriptYSize()
- getSuperscriptXOffset()
- getSuperscriptXSize()
- getSuperscriptYOffset()
- getSuperscriptYSize()
- getTypoAscender()
- getTypoDescender()
- getTypoLineGap()
- getUnicodeRange1()
- getUnicodeRange2()
- getUnicodeRange3()
- getUnicodeRange4()
- getUpperOpticalPointSize()
- getVendorId()
- getVersion()
- getWeightClass()
- getWidthClass()
- getWinAscent()
- getWinDescent()
- getXHeight()
Constants
TAG
The tag name of this class
Properties
Static Methods
Methods
__construct()
The constructor.
Parameters
- $record : SetaPDF_Core_Font_TrueType_Table_Record
_get()
Get a value from the table.
The properties are defined in the $_entries property of an implemented table.
Parameters
- $name : string
_getRaw()
Get raw data from a specific table.
The properties are defined in the $_entries property of an implemented table.
Parameters
- $name : string
getCapHeight()
Get the distance between the baseline and the approximate height of uppercase letters.
getDefaultChar()
Get the default character code that should be used whenever a requested character is not in the font.
getLowerOpticalPointSize()
Get the lower value of the size range for which this font has been designed.
getRecord()
Get the record object.
getUpperOpticalPointSize()
Get the upper value of the size range for which this font has been designed.
getXHeight()
Get the distance between the baseline and the approximate height of non-ascending lowercase letters.