class final readonly Optional · pdftoolkit/opentype 0.4.1

PDFToolkit\OpenType\Sfnt\SfntCollection
Selected faces retain absolute collection offsets. Signature bytes are not verified.

Read the source declaration ↗

Inheritance and contracts

This type declares no parent, interface or trait.

Construction

__construct()

public function __construct(int $majorVersion, array $fonts, ?PDFToolkit\OpenType\Binary\BinaryView $signature = null)
@param non-empty-list<SfntFont> $fonts

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

Declared methods

count()

public function count(): int

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

font()

public function font(int $index): PDFToolkit\OpenType\Sfnt\SfntFont

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

Properties

DeclarationOrigin and documentation
public readonly int $majorVersionPDFToolkit\OpenType\Sfnt\SfntCollection
public readonly ?PDFToolkit\OpenType\Binary\BinaryView $signaturePDFToolkit\OpenType\Sfnt\SfntCollection