setasign\SetaPDF2\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
Old class name (alias):
\SetaPDF_Core_Font_TrueType_Table_Os2
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
Properties
Static Methods
Methods
__construct()
_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.
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.