# FontRegistry Class

> FontRegistry class in the browser JavaScript API: Resolves document font faces and shapes glyph runs identically in browser and server rendering.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Class
- **Path:** TX Sheet Control > API Reference > JavaScript API > Browser Editor > FontRegistry Class
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/fontregistry/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/fontregistry/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/fontregistry/llms-full.txt

---

## On This Page

- [Constructor](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/fontregistry/#constructor)
- [Members](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/fontregistry/#members)
- [Examples](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/fontregistry/#examples)
- [See Also](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/fontregistry/#see-also)

---

## In This Section

- [FontRegistry.add Method](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/fontregistry/add-method/llms.txt): FontRegistry.add method in the TX Sheet Control JavaScript API for the browser: Add/replace a TrueType-outline font face.
- [FontRegistry.alias Method](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/fontregistry/alias-method/llms.txt): FontRegistry.alias method in the browser JavaScript API: Map an original family to a registered target without changing workbook styles.
- [FontRegistry.has Method](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/fontregistry/has-method/llms.txt): FontRegistry.has method in the TX Sheet Control JavaScript API for the browser: Check a family/weight/style face. Includes the syntax and a JavaScript example.
- [FontRegistry.measure Method](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/fontregistry/measure-method/llms.txt): FontRegistry.measure method in the TX Sheet Control JavaScript API for the browser: Read text width/ascent/descent. Shown with a JavaScript example.
- [FontRegistry.revision Property](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/fontregistry/revision-property/llms.txt): FontRegistry.revision property in the TX Sheet Control JavaScript API for the browser: Monotonic face-catalog revision, updated only when a face is registered.
- [FontRegistry.shape Method](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/fontregistry/shape-method/llms.txt): FontRegistry.shape method in the TX Sheet Control JavaScript API for the browser: Shape text into glyphs using a CSS font string.
- [FontRegistry.snapshot Method](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/fontregistry/snapshot-method/llms.txt): FontRegistry.snapshot method in the TX Sheet Control JavaScript API for the browser: Copy registered font faces. Includes the syntax and a JavaScript example.

---

## Nearby

- **Previous:** [FontManager.state Method](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/fontmanager/state-method/llms.txt)
- **Next:** [FontRegistry.add Method](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/fontregistry/add-method/llms.txt)
