sempdf v1.9.1Interfaces
Interface: FontConfiguration
sempdf / FontConfiguration
Defined in: src/fonts.ts:28
High-level font configuration accepted by PdfDocument.fonts.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
code? | PdfFont | Default monospaced font. Defaults to the proportional font. | src/fonts.ts:34 |
default? | PdfFont | Default proportional font family. Defaults to the first configured family. | src/fonts.ts:32 |
fallbacks? | readonly PdfFont[] | Ordered document-wide fallback families. | src/fonts.ts:36 |
families? | Readonly<Record<string, FontFamilySources>> | Additional font families, keyed by the name used in text APIs. | src/fonts.ts:30 |