# FontResolutionRequest Interface

> FontResolutionRequest interface in the TX Sheet Control TypeScript API for Node.js: The font family, style and text coverage requested while a document loads.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Interface
- **Path:** TX Sheet Control > API Reference > TypeScript API > Node.js Server > FontResolutionRequest Interface
- **544 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/fontresolutionrequest/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/fontresolutionrequest/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/fontresolutionrequest/llms-full.txt

---

Inspect a requested font family, style and text coverage during asynchronous TX Sheet Control document loading, with cancellation support.

Package: `@txtextcontrol/tx-sheet-control-server`. This is a type-only contract.

### Properties

| Property | Description |
|---|---|
| [family](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/fontresolutionrequest/family-property/llms-full.txt) | Original family requested by the document. |
| [bold](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/fontresolutionrequest/bold-property/llms-full.txt) | Whether the requested text uses bold formatting. |
| [italic](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/fontresolutionrequest/italic-property/llms-full.txt) | Whether the requested text uses italic formatting. |
| [text](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/fontresolutionrequest/text-property/llms-full.txt) | Existing text collected for this requested face; use it to choose a font with appropriate character coverage. |
| [reason](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/fontresolutionrequest/reason-property/llms-full.txt) | Missing requests have no available full document/deployed face; coverage requests identify an incomplete embedded character set. |
| [signal](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/fontresolutionrequest/signal-property/llms-full.txt) | Optional cancellation signal for the current load operation. |

### 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 });
}
```

Font registration is scoped to the loaded document. The shared renderer uses the same faces for editor layout and PDF output. A load failure or cancellation retains the existing workbook.

---

## In This Section

- [FontResolutionRequest.bold Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/fontresolutionrequest/bold-property/llms-full.txt): FontResolutionRequest.bold property in the TX Sheet Control TypeScript API for Node.js: Whether the requested text uses bold formatting.
- [FontResolutionRequest.family Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/fontresolutionrequest/family-property/llms-full.txt): FontResolutionRequest.family property in the TX Sheet Control TypeScript API for Node.js: Original family requested by the document.
- [FontResolutionRequest.italic Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/fontresolutionrequest/italic-property/llms-full.txt): FontResolutionRequest.italic property in the TX Sheet Control TypeScript API for Node.js: Whether the requested text uses italic formatting.
- [FontResolutionRequest.reason Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/fontresolutionrequest/reason-property/llms-full.txt): FontResolutionRequest.reason property in the TX Sheet Control TypeScript API for Node.js, with its type 'missing' | 'coverage' and a TypeScript example.
- [FontResolutionRequest.signal Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/fontresolutionrequest/signal-property/llms-full.txt): FontResolutionRequest.signal property in the TX Sheet Control TypeScript API for Node.js: Optional cancellation signal for the current load operation.
- [FontResolutionRequest.text Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/fontresolutionrequest/text-property/llms-full.txt): FontResolutionRequest.text property in the Node.js TypeScript API: The text collected for the face, to pick a font with the right character coverage.

---

## Nearby

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