class final readonly Optional · pdftoolkit/html-to-pdf 0.4.0

PDF\HtmlToPdf\Font\FontLimits
Per-font parsing and per-run shaping budgets; the converter also limits total work.

Read the source declaration ↗

Inheritance and contracts

This type declares no parent, interface or trait.

Construction

__construct()

public function __construct(int $maxBytes = 16_777_216, int $maxTextBytes = 262_144, int $maxGlyphs = 65_535, int $maxLayoutRecords = 262_144, int $maxSubstitutionOperations = 1_048_576, int $maxLookupNesting = 32)

Declared by PDF\HtmlToPdf\Font\FontLimits · View the code ↗

Declared methods

readingLimits()

public function readingLimits(): PDFToolkit\OpenType\Sfnt\ReadLimits

Declared by PDF\HtmlToPdf\Font\FontLimits · View the code ↗

Properties

DeclarationOrigin and documentation
public readonly int $maxBytesPDF\HtmlToPdf\Font\FontLimits
public readonly int $maxGlyphsPDF\HtmlToPdf\Font\FontLimits
public readonly int $maxLayoutRecordsPDF\HtmlToPdf\Font\FontLimits
public readonly int $maxLookupNestingPDF\HtmlToPdf\Font\FontLimits
public readonly int $maxSubstitutionOperationsPDF\HtmlToPdf\Font\FontLimits
public readonly int $maxTextBytesPDF\HtmlToPdf\Font\FontLimits