# DocumentFontLoadOptions.substitutions Property

> DocumentFontLoadOptions.substitutions property in the Node.js TypeScript API, with its type Readonly<Record<string, string>> and a TypeScript example.

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

---

Original workbook family to deployed or supplied family. Names in cell formatting are preserved.

### Syntax

```typescript
substitutions?: Readonly<Record<string, string>>;
```

### Example

```typescript
import { StreamType, type ServerSheetControl, type DocumentFontLoadOptions } from '@txtextcontrol/tx-sheet-control-server';

async function loadInvoice(editor: ServerSheetControl, inputBytes: Uint8Array, fontBase64: string) {
    const fonts: DocumentFontLoadOptions = {
        resolve: async request => ({
            family: request.family,
            bold: request.bold,
            italic: request.italic,
            base64: fontBase64
        })
    };
    await editor.load(inputBytes, StreamType.OpenDocumentSpreadsheet, { fonts });
}
```

---

## Nearby

- **Previous:** [DocumentFontLoadOptions.sources Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/documentfontloadoptions/sources-property/llms-full.txt)
- **Next:** [DocumentFontLoadOptions.resolve Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/documentfontloadoptions/resolve-property/llms-full.txt)
