setasign\SetaPDF2\Core\Font\TrueType\Table
Header A class representing the Font Header Table (head) in a TrueType file. https://www.microsoft.com/typography/otspec/head.htm
File: /SetaPDF v2/Core/Font/TrueType/Table/Header.php
Old class name (alias):
\SetaPDF_Core_Font_TrueType_Table_Header
Class hierarchy
Summary
Methods
- __construct()
- _get()
- _getRaw()
- cleanUp()
- getBoundingBox()
- getCheckSumAdjustment()
- getCreated()
- getEntry()
- getFlags()
- getFontDirectionHint()
- getGlyphDataFormat()
- getIndexToLocFormat()
- getLowestRecPPEM()
- getMacStyle()
- getMagicNumber()
- getModified()
- getRecord()
- getRevision()
- getUnitsPerEm()
- getVersion()
- getXMax()
- getXMin()
- getYMax()
- getYMin()
- hasMacStyle()
Constants
MAC_STYLE_BOLD
Mac style ids.
MAC_STYLE_CONDENSED
MAC_STYLE_EXTENDED
MAC_STYLE_ITALIC
MAC_STYLE_OUTLINE
MAC_STYLE_SHADOW
MAC_STYLE_UNDERLINE
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
getCreated()
Get the number of seconds since 12:00 midnight that started January 1st 1904 in GMT/UTC time zone when the font was created.
Return Values
The raw data representing the LONGDATETIME data type.
getMacStyle()
Get the MacStyle
Bit 0: Bold (if set to 1); Bit 1: Italic (if set to 1) Bit 2: Underline (if set to 1) Bit 3: Outline (if set to 1) Bit 4: Shadow (if set to 1) Bit 5: Condensed (if set to 1) Bit 6: Extended (if set to 1) Bits 7-15: Reserved (set to 0).
getModified()
Get the number of seconds since 12:00 midnight that started January 1st 1904 in GMT/UTC time zone when the font was modifed.
Return Values
The raw data representing the LONGDATETIME data type.