# FontRegistry.alias Method

> FontRegistry.alias method in the TX Sheet Control JavaScript API for Node.js: Map an original family to a registered target without changing workbook styles.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Method
- **Path:** TX Sheet Control > API Reference > JavaScript API > Node.js Server > FontRegistry > FontRegistry.alias Method
- **142 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/nodejs/fontregistry/alias-method/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/nodejs/fontregistry/alias-method/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/nodejs/fontregistry/alias-method/llms-full.txt

---

Map an original family to a registered target without changing workbook styles. Unknown targets and cyclic substitutions throw.

### Syntax

```javascript
alias(original: string, target: string): void;
```

### Example

```javascript
function configureInvoiceFonts(registry) {
    registry.alias('Unavailable Sans', 'Liberation Sans');
}
```

---

## Nearby

- **Previous:** [FontRegistry.snapshot Method](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/nodejs/fontregistry/snapshot-method/llms-full.txt)
- **Next:** [LicenseError Class](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/nodejs/licenseerror/llms-full.txt)
