PHP Класс Pop\Font\TrueType

Автор: Nick Sagona, III ([email protected])
Наследование: extends AbstractFont
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
$header mixed TrueType font header
$tableInfo array TrueType font table info
$tables array TrueType font tables
$ttfHeader ArrayObject TrueType font file header
$ttfTable ArrayObject TrueType font file table

Открытые методы

Метод Описание
__construct ( string $font ) : TrueType Constructor

Защищенные методы

Метод Описание
parseCommonTables ( ) : void Method to parse the common tables of the TrueType font file.
parseName ( ) : void Method to parse the TTF info of the TrueType font file from the name table.
parseRequiredTables ( ) : void Method to parse the required tables of the TrueType font file.
parseTtfTable ( ) : void Method to parse the TTF header and table of the TrueType font file.

Описание методов

__construct() публичный Метод

Instantiate a TrueType font file object based on a pre-existing font file on disk.
public __construct ( string $font ) : TrueType
$font string
Результат TrueType

parseCommonTables() защищенный Метод

Method to parse the common tables of the TrueType font file.
protected parseCommonTables ( ) : void
Результат void

parseName() защищенный Метод

Method to parse the TTF info of the TrueType font file from the name table.
protected parseName ( ) : void
Результат void

parseRequiredTables() защищенный Метод

Method to parse the required tables of the TrueType font file.
protected parseRequiredTables ( ) : void
Результат void

parseTtfTable() защищенный Метод

Method to parse the TTF header and table of the TrueType font file.
protected parseTtfTable ( ) : void
Результат void

Описание свойств

$header публичное свойство

TrueType font header
public mixed $header
Результат mixed

$tableInfo публичное свойство

TrueType font table info
public array $tableInfo
Результат array

$tables публичное свойство

TrueType font tables
public array $tables
Результат array

$ttfHeader публичное свойство

TrueType font file header
public ArrayObject $ttfHeader
Результат ArrayObject

$ttfTable публичное свойство

TrueType font file table
public ArrayObject $ttfTable
Результат ArrayObject