class final readonly Optional · pdftoolkit/opentype 0.1.0

PDFToolkit\OpenType\Sfnt\SfntFont
Directory model; preserved outline bytes are not an outline interpreter.

Read the source declaration ↗

Inheritance and contracts

This type declares no parent, interface or trait.

Construction

__construct()

public function __construct(PDFToolkit\OpenType\Sfnt\SfntVersion $version, array $records, int $numberOfGlyphs)
@param list<TableRecord> $records

Declared by PDFToolkit\OpenType\Sfnt\SfntFont · View the code ↗

Declared methods

glyphCount()

public function glyphCount(): int

Declared by PDFToolkit\OpenType\Sfnt\SfntFont · View the code ↗

hasTable()

public function hasTable(PDFToolkit\OpenType\Value\Tag $tag): bool

Declared by PDFToolkit\OpenType\Sfnt\SfntFont · View the code ↗

record()

Declared by PDFToolkit\OpenType\Sfnt\SfntFont · View the code ↗

records()

public function records(): array
@return list<TableRecord>

Declared by PDFToolkit\OpenType\Sfnt\SfntFont · View the code ↗

table()

Declared by PDFToolkit\OpenType\Sfnt\SfntFont · View the code ↗

Properties

DeclarationOrigin and documentation
public readonly PDFToolkit\OpenType\Sfnt\SfntVersion $versionPDFToolkit\OpenType\Sfnt\SfntFont