# DocumentFontSource.fallback Property

> DocumentFontSource.fallback property in the TX Sheet Control TypeScript API for the browser, with its type boolean and a TypeScript example.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Property
- **Path:** TX Sheet Control > API Reference > TypeScript API > Browser Editor > DocumentFontSource > DocumentFontSource.fallback Property
- **233 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/documentfontsource/fallback-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/documentfontsource/fallback-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/documentfontsource/fallback-property/llms-full.txt

---

Use this face only for missing characters while retaining an available primary embedded face.

### Syntax

```typescript
fallback?: boolean;
```

### Example

```typescript
import { StreamType, type Spreadsheet, type DocumentFontSource } from '@txtextcontrol/tx-sheet-control';

async function loadInvoice(editor: Spreadsheet, inputBytes: Uint8Array, fontBase64: string) {
    const face: DocumentFontSource = { family: 'Invoice Sans', base64: fontBase64 };
    await editor.load(inputBytes, StreamType.OpenDocumentSpreadsheet, { fonts: { sources: [face] } });
}
```

---

## Nearby

- **Previous:** [DocumentFontSource.aliases Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/documentfontsource/aliases-property/llms-full.txt)
- **Next:** [FontResolutionRequest Interface](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/fontresolutionrequest/llms-full.txt)
