setasign\SetaPDF2\Core\Document\ObjectCollector

Fonts Class for collecting objects from fonts

File: /SetaPDF v2/Core/Document/ObjectCollector/Fonts.php
Old class name (alias): \SetaPDF_Core_Document_ObjectCollector_Fonts

Class hierarchy

Summary

Properties

$_document


Methods

__construct()

Parameters
$document : \SetaPDF_Core_Document
 

collect()

public Fonts::collect (
callable $addObjectCallback
): void

Collect all indirect objects/references for non-stream objects related to fonts used in the document.

Parameters
$addObjectCallback : callable
 
Exceptions

Throws \setasign\SetaPDF2\Core\Exception

Throws \setasign\SetaPDF2\Core\SecHandler\Exception

Throws \setasign\SetaPDF2\Core\Type\Exception