Documentation

Os2 extends AbstractTable
in package

OS/2 table class

Tags
category

Pop

author

Nick Sagona, III dev@nolainteractive.com

copyright

Copyright (c) 2009-2023 NOLA Interactive, LLC. (http://www.nolainteractive.com)

license

http://www.popphp.org/license New BSD License

version
4.2.0

Table of Contents

$properties  : array<string|int, mixed>
Font table properties
$readOnly  : array<string|int, mixed>
Read-only properties
__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

Properties

$properties

Font table properties

protected array<string|int, mixed> $properties = ['capHeight' => 0, 'embeddable' => true, 'flags' => null]

$readOnly

Read-only properties

protected array<string|int, mixed> $readOnly = []

Methods

__construct()

Constructor

public __construct(TrueType $font) : mixed

Instantiate a OTF 'OS/2' table object.

Parameters
$font : TrueType
Return values
mixed

__get()

Get method

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

__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
Return values
void

__unset()

Unset fields[$name]

public __unset(string $name) : void
Parameters
$name : string
Return values
void

offsetExists()

Offset exists method

public offsetExists(mixed $offset) : bool
Parameters
$offset : mixed
Return values
bool

offsetGet()

Offset get method

public offsetGet(string $name) : mixed
Parameters
$name : string
Tags
throws
InvalidArgumentException
Return values
mixed

offsetSet()

Offset set method

public offsetSet(string $name, mixed $value) : void
Parameters
$name : string
$value : mixed
Return values
void

offsetUnset()

Offset unset method

public offsetUnset(mixed $offset) : void
Parameters
$offset : mixed
Return values
void

Search results