class final readonly Optional · pdftoolkit/opentype 0.4.1

PDFToolkit\OpenType\Layout\LayoutBinaryReader
Shared offset/count validation for GDEF, GSUB and GPOS; each read owns its budget.

Read the source declaration ↗

Inheritance and contracts

This type declares no parent, interface or trait.

Declared methods

child()

public function child(PDFToolkit\OpenType\Binary\BinaryView $parent, int $offset, int $minimum): PDFToolkit\OpenType\Binary\BinaryView

Declared by PDFToolkit\OpenType\Layout\LayoutBinaryReader · View the code ↗

classes()

Declared by PDFToolkit\OpenType\Layout\LayoutBinaryReader · View the code ↗

context()

public function context(PDFToolkit\OpenType\Binary\BinaryView $table, bool $chained, int $glyphCount, int $lookupCount, PDFToolkit\OpenType\Substitution\LayoutReadBudget $budget): array
@return array{Coverage, list<ContextRule>}

Declared by PDFToolkit\OpenType\Layout\LayoutBinaryReader · View the code ↗

coverage()

Declared by PDFToolkit\OpenType\Layout\LayoutBinaryReader · View the code ↗

coveragePredicates()

public function coveragePredicates(PDFToolkit\OpenType\Binary\BinaryView $table, array $offsets, int $header, int $glyphCount, PDFToolkit\OpenType\Substitution\LayoutReadBudget $budget): array
@param list<int> $offsets
@return list<GlyphPredicate>

Declared by PDFToolkit\OpenType\Layout\LayoutBinaryReader · View the code ↗

glyph()

public function glyph(int $value, int $glyphCount): PDFToolkit\OpenType\Value\GlyphId

Declared by PDFToolkit\OpenType\Layout\LayoutBinaryReader · View the code ↗

records()

public function records(PDFToolkit\OpenType\Binary\BinaryView $table, int $at, int $count, int $width, PDFToolkit\OpenType\Substitution\LayoutReadBudget $budget): void

Declared by PDFToolkit\OpenType\Layout\LayoutBinaryReader · View the code ↗