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

PDF\HtmlToPdf\Font\LayoutPreparation
Face-owned lazy preparation: unused variants never allocate layout tables.

Read the source declaration ↗

Inheritance and contracts

This type declares no parent, interface or trait.

Construction

__construct()

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

Declared methods

create()

public function create(PDF\Fonts\TrueType\UnicodeText $text, PDF\HtmlToPdf\Style\TextSpacing $spacing = new TextSpacing(), float $fontUnitsPerPoint = 1): PDF\Fonts\OpenType\ShapedText

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