# SaveOptions.embedUsedFonts Property

> SaveOptions.embedUsedFonts property in the TX Sheet Control Angular package: Includes resolved font files, default fonts too, when saving TXWB, XLSX or ODS.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Property
- **Path:** TX Sheet Control > API Reference > TypeScript API > Angular > SaveOptions > SaveOptions.embedUsedFonts Property
- **327 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/angular/saveoptions/embedusedfonts-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/angular/saveoptions/embedusedfonts-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/angular/saveoptions/embedusedfonts-property/llms-full.txt

---

Include resolved font files, including default fonts, when saving TXWB, XLSX or ODS with TX Sheet Control.

### Syntax

```typescript
embedUsedFonts?: boolean;
```

Defaults to `false`. Set `true` on an editor or server control to collect document font bytes from its configured catalog and document font sources. The exported snapshot includes them; the live workbook, font picker and styles do not change. An unavailable or restricted font, an unsupported output format, cancellation or a document change during collection rejects saving.

TXWB and ODS retain font resources. XLSX uses the TX font extension; Microsoft Excel does not provide this embedding option. If Arial resolves to Liberation Sans, the saved resource is Liberation Sans with a mapping from the original workbook name. PDF already embeds rendering fonts and does not need this setting. A standalone Workbook has no font catalog host: supply `fonts.sources` directly there.

### Example

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

async function exportPortableInvoice(editor: Spreadsheet) {
    return editor.save(StreamType.InternalWorkbookFormat, { embedUsedFonts: true });
}
```

---

## Nearby

- **Previous:** [SaveOptions.openDocumentSpreadsheet Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/angular/saveoptions/opendocumentspreadsheet-property/llms-full.txt)
- **Next:** [Spreadsheet Class](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/angular/spreadsheet/llms-full.txt)
