SetaPDF_Core_Font_TrueType_Table_Name A class representing the Naming Table (name) in a TrueType file.
File: /SetaPDF v2/Core/Font/TrueType/Table/Name.php
Class hierarchy
Summary
Constants
- COMPATIBLE_FULL
- COPYRIGHT
- DARK_BACKGROUND_PALETTE
- DESCRIPTION
- DESIGNER
- DESIGNER_URL
- FAMILY_NAME
- FULL_FONT_NAME
- LICENSE_DESCRIPTION
- LICENSE_INFO_URL
- LIGHT_BACKGROUND_PALETTE
- MANUFACTURER_NAME
- POSTSCRIPT_NAME
- POST_SCRIPT_CID_FINDFONT_NAME
- SAMPLE_TEXT
- SUBFAMILY_NAME
- TAG
- TRADEMARK
- TYPOGRAPHIC_FAMILY_NAME
- TYPOGRAPHIC_SUBFAMILY_NAME
- UID
- VARIATIONS_POST_SCRIPT_NAME_PREFIX
- VENDOR_URL
- VERSION
- WWS_FAMILY_NAME
- WWS_SUBFAMILY_NAME
Constants
COMPATIBLE_FULL
COPYRIGHT
Name IDs
DARK_BACKGROUND_PALETTE
DESCRIPTION
DESIGNER
DESIGNER_URL
FAMILY_NAME
FULL_FONT_NAME
LICENSE_DESCRIPTION
LICENSE_INFO_URL
LIGHT_BACKGROUND_PALETTE
MANUFACTURER_NAME
POSTSCRIPT_NAME
POST_SCRIPT_CID_FINDFONT_NAME
SAMPLE_TEXT
SUBFAMILY_NAME
TAG
The tag name of this class
TRADEMARK
TYPOGRAPHIC_FAMILY_NAME
TYPOGRAPHIC_SUBFAMILY_NAME
UID
VARIATIONS_POST_SCRIPT_NAME_PREFIX
VENDOR_URL
VERSION
WWS_FAMILY_NAME
WWS_SUBFAMILY_NAME
Properties
Static Methods
Methods
__construct()
public SetaPDF_Core_Font_TrueType_Table::__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
getAllNames()
Get all defined names.
Return Values
A multi-dimensional array with the format $result[$platformId][$encodingId][$languageId][$nameId].
getName()
public SetaPDF_Core_Font_TrueType_Table_Name::getName (
integer $platformId, integer $encodingId, integer $languageId, integer $nameId
): bool|stringGet a name.
Parameters
- $platformId : integer
- $encodingId : integer
- $languageId : integer
- $nameId : integer
getRecord()
public SetaPDF_Core_Font_TrueType_Table::getRecord (
void
): SetaPDF_Core_Font_TrueType_Table_RecordGet the record object.
hasName()
public SetaPDF_Core_Font_TrueType_Table_Name::hasName (
integer $platformId, integer $encodingId, integer $languageId, integer $nameId
): boolChecks whether a name exists.
Parameters
- $platformId : integer
- $encodingId : integer
- $languageId : integer
- $nameId : integer