A game about forced loneliness, made by TACStudios
1# Font
2
3You can switch to a different font using `<font="fontAssetName">`.
4
5The font you specify replaces the default font until you insert a closing `<font>` tag. Font tags can be nested.
6
7You can also use the `material` attribute to switch between different materials for a single font.
8
9You must place the font and material assets in the directory that is specified in the **TextMesh Settings > Default Font Asset > Path** field. The default path is `Assets/TextMesh Pro/Resources/Fonts & Materials`. If you don't have it in your project, select **Window > TextMeshPro > Import TMP Essential Resources** to add it. For more information, refer to [Importing required resources into projects](index.md).
10
11To revert to the default font:
12* Close all open font tags using `</font>` tag
13* Use another `<font>` tag and set the font Asset name to `default`
14
15**Example:**
16
17```
18Would you like <font="Impact SDF">a different font?</font> or just <font="NotoSans" material="NotoSans Outline">a different material?
19```
20
21<br/>
22_Mixing fonts and materials_