Interface: FontFamilyInput
Input accepted by PdfDocument.registerFontFamily. Each face may be a built-in FontName, an already-embedded font handle, or raw font bytes — bytes are embedded automatically under the family name, so you can register a family in one call without embedding each weight first.
Properties
| Property | Type | Description |
|---|---|---|
bold? | BinaryData | PdfFont | Face used when bold is requested without italic. |
boldItalic? | BinaryData | PdfFont | Face used when both bold and italic are requested. |
italic? | BinaryData | PdfFont | Face used when italic is requested without bold. |
regular | BinaryData | PdfFont | Face used when neither bold nor italic is requested. |