API reference: @salmonui/export/pdf
PdfFontinterface
import type { PdfFont } from '@salmonui/export/pdf';Also exported from @salmonui/export/graphics, @salmonui/export/gantt.
interface PdfFont {
readonly regular: PdfFontData;
readonly bold?: PdfFontData;
}
Embedded TrueType fonts; bold defaults to a stroked (synthetic) bold of regular.
| Name | Signature | Description |
|---|---|---|
regular | readonly regular: PdfFontData; | |
boldoptional | readonly bold?: PdfFontData; |