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

PDF\HtmlToPdf\Rendering\EmbeddedFont
Collect the document's exact glyph/text pairs before allocating PDF character codes.

Read the source declaration ↗

Inheritance and contracts

This type declares no parent, interface or trait.

Construction

__construct()

public function __construct(PDF\HtmlToPdf\Font\FontFace $face, PDF\Syntax\Object\NameType $name)

Declared by PDF\HtmlToPdf\Rendering\EmbeddedFont · View the code ↗

Declared methods

add()

public function add(PDF\HtmlToPdf\Font\FontRun $run): void

Declared by PDF\HtmlToPdf\Rendering\EmbeddedFont · View the code ↗

embedding()

public function embedding(): PDF\Fonts\OpenType\TrueTypeFontEmbedding

Declared by PDF\HtmlToPdf\Rendering\EmbeddedFont · View the code ↗

Properties