Cmap
extends AbstractTable
in package
CMAP table class
Tags
Table of Contents
Properties
- $properties : array<string|int, mixed>
- Font table properties
- $readOnly : array<string|int, mixed>
- Read-only properties
Methods
- __construct() : mixed
- Constructor
- __get() : mixed
- Get method
- __isset() : bool
- Isset method
- __set() : void
- Set method
- __unset() : void
- Unset fields[$name]
- offsetExists() : bool
- Offset exists method
- offsetGet() : mixed
- Offset get method
- offsetSet() : void
- Offset set method
- offsetUnset() : void
- Offset unset method
- parseSubTables() : void
- Method to parse the CMAP sub-tables.
Properties
$properties
Font table properties
protected
array<string|int, mixed>
$properties
= ['header' => null, 'subTables' => []]
$readOnly
Read-only properties
protected
array<string|int, mixed>
$readOnly
= []
Methods
__construct()
Constructor
public
__construct(TrueType $font) : mixed
Instantiate a TTF 'cmap' table object.
Parameters
- $font : TrueType
__get()
Get method
public
__get(string $name) : mixed
Parameters
- $name : string
__isset()
Isset method
public
__isset(string $name) : bool
Parameters
- $name : string
Return values
bool__set()
Set method
public
__set(string $name, mixed $value) : void
Parameters
- $name : string
- $value : mixed
__unset()
Unset fields[$name]
public
__unset(string $name) : void
Parameters
- $name : string
offsetExists()
Offset exists method
public
offsetExists(mixed $offset) : bool
Parameters
- $offset : mixed
Return values
booloffsetGet()
Offset get method
public
offsetGet(mixed $offset) : mixed
Parameters
- $offset : mixed
offsetSet()
Offset set method
public
offsetSet(mixed $offset, mixed $value) : void
Parameters
- $offset : mixed
- $value : mixed
offsetUnset()
Offset unset method
public
offsetUnset(mixed $offset) : void
Parameters
- $offset : mixed
parseSubTables()
Method to parse the CMAP sub-tables.
protected
parseSubTables(TrueType $font) : void
Parameters
- $font : TrueType