class final Optional · pdftoolkit/html-to-pdf 0.4.0
PDF\HtmlToPdf\Rendering\EmbeddedFontCollect the document's exact glyph/text pairs before allocating PDF character codes.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 methods
add()
public function add(PDF\HtmlToPdf\Font\FontRun $run): voidembedding()
public function embedding(): PDF\Fonts\OpenType\TrueTypeFontEmbeddingProperties
| Declaration | Origin and documentation |
|---|---|
public readonly PDF\HtmlToPdf\Font\FontFace $face | PDF\HtmlToPdf\Rendering\EmbeddedFont |
public readonly PDF\Syntax\Object\NameType $name | PDF\HtmlToPdf\Rendering\EmbeddedFont |