Sledgehammer Framework

TrueTypeFont extends Base
in package

ycTIN - TTF class Get the information tables from TrueType font file.

Tags
name

ycTIN - TTF Info class

version
0.1
license

GPL 3.0

author

Timmy Tin(ycTIN)

website

http://www.yctin.com

link
http://blog.yctin.com/archives/how-to-get-name-table-from-ttf-font-file-using-php/
history

v0.1 get all name tables

Table of Contents

$debug  : mixed
$error_message_tpl  : mixed
$file  : mixed
$filename  : mixed
$offset  : mixed
$position  : mixed
$tables  : mixed
__call()  : mixed
Report that the $method doesn't exist.
__callStatic()  : mixed
Report that the $method doesn't exist.
__construct()  : mixed
__destruct()  : mixed
__get()  : mixed
Report that $property doesn't exist.
__set()  : mixed
Report that $property doesn't exist and set the property to the given $value.
__toString()  : string
The object is used as an string.
close()  : mixed
getNameTable()  : mixed
open()  : mixed
getTag()  : mixed
getUint16()  : mixed
getUint32()  : mixed
printError()  : mixed

Properties

$error_message_tpl

private mixed $error_message_tpl = '[ycTIN_TTF][ERROR] {message} <br />n'

Methods

__call()

Report that the $method doesn't exist.

public __call(string $method, array<string|int, mixed> $arguments) : mixed
Parameters
$method : string
$arguments : array<string|int, mixed>
Return values
mixed

__callStatic()

Report that the $method doesn't exist.

public static __callStatic(string $method, array<string|int, mixed> $arguments) : mixed
Parameters
$method : string
$arguments : array<string|int, mixed>
Return values
mixed

__construct()

public __construct([mixed $filename = false ]) : mixed
Parameters
$filename : mixed = false
Return values
mixed

__destruct()

public __destruct() : mixed
Return values
mixed

__get()

Report that $property doesn't exist.

public __get(string $property) : mixed
Parameters
$property : string
Return values
mixed

__set()

Report that $property doesn't exist and set the property to the given $value.

public __set(string $property, mixed $value) : mixed
Parameters
$property : string
$value : mixed
Return values
mixed

__toString()

The object is used as an string.

public __toString() : string
Return values
string

getNameTable()

public getNameTable() : mixed
Return values
mixed

open()

public open(mixed $filename) : mixed
Parameters
$filename : mixed
Return values
mixed

getTag()

private getTag([mixed $pt = false ]) : mixed
Parameters
$pt : mixed = false
Return values
mixed

getUint16()

private getUint16([mixed $pt = false ]) : mixed
Parameters
$pt : mixed = false
Return values
mixed

getUint32()

private getUint32([mixed $pt = false ]) : mixed
Parameters
$pt : mixed = false
Return values
mixed

printError()

private printError(mixed $message) : mixed
Parameters
$message : mixed
Return values
mixed

Search results