View as Markdown

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.

PdfFont members (2)
NameSignatureDescription
regularreadonly regular: PdfFontData;
boldoptionalreadonly bold?: PdfFontData;