# ServerPdfOptions.fonts Property

> ServerPdfOptions.fonts property in the TX Sheet Control TypeScript API for Node.js, with its type EmbeddedFont[] | undefined and a TypeScript example.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Property
- **Path:** TX Sheet Control > API Reference > TypeScript API > Node.js Server > ServerPdfOptions > ServerPdfOptions.fonts Property
- **342 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/serverpdfoptions/fonts-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/serverpdfoptions/fonts-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/serverpdfoptions/fonts-property/llms-full.txt

---

The fonts value of ServerPdfOptions.

Owner: [ServerPdfOptions](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/serverpdfoptions/llms-full.txt). Package: `@txtextcontrol/tx-sheet-control-server`. Version: **2.0.0**.

### Syntax

```typescript
fonts?: EmbeddedFont[] | undefined
```

Read through the owning object: `owner.fonts`. Follow the declared mutability and owning object lifetime.

### Examples

Configure ServerPdfOptions for an invoice or sales-report workflow. Supply font and document resources from the application where the example accepts them as inputs.

```typescript
import type { ServerPdfOptions } from '@txtextcontrol/tx-sheet-control-server';

const serverPdfSettings: ServerPdfOptions = { date: '2026-10-20T00:00:00Z', fonts: [] };
console.log(serverPdfSettings['fonts']);
```

### Remarks

Use this member on an object from the current document. Reacquire document-bound handles after replacement/deletion. Validate arguments against the declared types and documented bounds; handle exceptions or rejected promises.

### See Also

- [ServerPdfOptions Interface](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/serverpdfoptions/llms-full.txt)
- [Font Handling](https://docs.textcontrol.com/tx-sheet-control/deployment/fonts/llms-full.txt)
- [EmbeddedFont Interface](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/embeddedfont/llms-full.txt)

---

## Nearby

- **Previous:** [ServerPdfOptions.filePath Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/serverpdfoptions/filepath-property/llms-full.txt)
- **Next:** [ServerPdfOptions.headerRows Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/serverpdfoptions/headerrows-property/llms-full.txt)
