class final readonly Optional · pdftoolkit/html-to-pdf 0.4.0
PDF\HtmlToPdf\Font\FontSetExplicit variants, with no operating-system font lookup or synthetic bold/italic.Inheritance and contracts
This type declares no parent, interface or trait.
Construction
__construct()
public function __construct(PDF\HtmlToPdf\Font\FontFace $regular, ?PDF\HtmlToPdf\Font\FontFace $bold = null, ?PDF\HtmlToPdf\Font\FontFace $italic = null, ?PDF\HtmlToPdf\Font\FontFace $boldItalic = null, PDF\HtmlToPdf\Font\FontCatalog $catalog = new FontCatalog())Declared methods
face()
public function face(PDF\HtmlToPdf\Font\FontStyle $style, ?PDF\HtmlToPdf\Style\FontFamilyList $families = null): PDF\HtmlToPdf\Font\FontFaceProperties
| Declaration | Origin and documentation |
|---|---|
public readonly ?PDF\HtmlToPdf\Font\FontFace $bold | PDF\HtmlToPdf\Font\FontSet |
public readonly ?PDF\HtmlToPdf\Font\FontFace $boldItalic | PDF\HtmlToPdf\Font\FontSet |
public readonly PDF\HtmlToPdf\Font\FontCatalog $catalog | PDF\HtmlToPdf\Font\FontSet |
public readonly ?PDF\HtmlToPdf\Font\FontFace $italic | PDF\HtmlToPdf\Font\FontSet |
public readonly PDF\HtmlToPdf\Font\FontFace $regular | PDF\HtmlToPdf\Font\FontSet |