# FontManagerOptions.FontFace Property

> FontManagerOptions.FontFace property in the TX Sheet Control TypeScript API for Node.js, with its syntax and a TypeScript example.

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

---

The FontFace value of FontManagerOptions.

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

### Syntax

```typescript
FontFace?: { new (family: string, source: string | BufferSource, descriptors?: FontFaceDescriptors): FontFace; prototype: FontFace; } | undefined
```

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

### Examples

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

```typescript
function configureFontManagerOptions(FontFace: {
    prototype: {
        ascentOverride: string;
        descentOverride: string;
        display: 'auto' | 'block' | 'fallback' | 'optional' | 'swap';
        family: string;
        featureSettings: string;
        lineGapOverride: string;
        loaded: Promise<{
            ascentOverride: string;
            descentOverride: string;
            display: 'auto' | 'block' | 'fallback' | 'optional' | 'swap';
            family: string;
            featureSettings: string;
            lineGapOverride: string;
            loaded: Promise<{
                ascentOverride: unknown;
                descentOverride: unknown;
                display: unknown;
                family: unknown;
                featureSettings: unknown;
                lineGapOverride: unknown;
                loaded: unknown;
                status: unknown;
                stretch: unknown;
                style: unknown;
                unicodeRange: unknown;
                variationSettings: unknown;
                weight: unknown;
                load: unknown;
            }>;

            status: 'error' | 'loading' | 'loaded' | 'unloaded';
            stretch: string;
            style: string;
            unicodeRange: string;
            variationSettings: string;
            weight: string;
            load: unknown;
        }>;

        status: 'error' | 'loading' | 'loaded' | 'unloaded';
        stretch: string;
        style: string;
        unicodeRange: string;
        variationSettings: string;
        weight: string;
        load: unknown;
    };
}) {
    const fontManagerSettings = { catalogURL: 'Invoice', FontFace: FontFace };
    console.log(fontManagerSettings['FontFace']);
    return fontManagerSettings;
}
```

### 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

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

---

## Nearby

- **Previous:** [FontManagerOptions.document Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/fontmanageroptions/document-property/llms-full.txt)
- **Next:** [FontManagerOptions.resolveURL Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/fontmanageroptions/resolveurl-property/llms-full.txt)
