sempdf v1.9.1Type aliases
Type Alias: PdfFont
sempdf / PdfFont
type PdfFont =
| FontName
| PdfEmbeddedFont
| string & object;Defined in: src/types.ts:63
Font value accepted by text APIs: a built-in FontName, an embedded font handle, or the name of a family registered with PdfDocument.registerFontFamily.
The string & {} member keeps FontName literals in editor autocomplete
while still accepting an arbitrary registered family name.