Appearance
zeropdf / FontFamilyInput
Interface: FontFamilyInput
Defined in: src/types.ts:73
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 | Defined in |
|---|---|---|---|
bold? | | BinaryData | PdfFont | Face used when bold is requested without italic. | src/types.ts:77 |
boldItalic? | | BinaryData | PdfFont | Face used when both bold and italic are requested. | src/types.ts:81 |
italic? | | BinaryData | PdfFont | Face used when italic is requested without bold. | src/types.ts:79 |
regular | | BinaryData | PdfFont | Face used when neither bold nor italic is requested. | src/types.ts:75 |