sempdf
sempdf v1.9.1Interfaces

Interface: FontConfiguration

sempdf v1.9.1


sempdf / FontConfiguration

Defined in: src/fonts.ts:28

High-level font configuration accepted by PdfDocument.fonts.

Properties

PropertyTypeDescriptionDefined in
code?PdfFontDefault monospaced font. Defaults to the proportional font.src/fonts.ts:34
default?PdfFontDefault 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

On this page