# PdfFont (@salmonui/export/pdf)

> The PdfFont interface of @salmonui/export/pdf: Embedded TrueType fonts; bold defaults to a stroked (synthetic) bold of regular.

Canonical: https://salmonui.dev/docs/reference/export/pdf/PdfFont

```ts
import type { PdfFont } from '@salmonui/export/pdf';
```

Also exported from `@salmonui/export/graphics`, `@salmonui/export/gantt`.

Entry index: https://salmonui.dev/docs/reference/export/pdf (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/export/pdf.md).

## Reference

Kind: interface

```ts
interface PdfFont {
    readonly regular: PdfFontData;
    readonly bold?: PdfFontData;
}
```

Embedded TrueType fonts; `bold` defaults to a stroked (synthetic) bold of `regular`.

Members (2):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `regular` | `readonly regular: PdfFontData;` |  |  |
| `bold` | `readonly bold?: PdfFontData;` | optional |  |
