A game about forced loneliness, made by TACStudios
1### Font
2The fonts settings panel is where you choose a font for your text, and customize the font style.
3
4
5
6|Property:||Function:|
7|---------|-|---------|
8|**Font Asset**||Choose a [font Asset](FontAssets.md) for the TextMesh Pro GameObject to use. <br/><br/> TextMesh Pro ships with several font assets, and you can create others from standard font files such as truetype (ttf) fonts. <br/><br/> **Note:** You can set the default font Asset for new text objects in the [TextMesh Pro settings](Settings.md).|
9|**Material Preset**|| Choose a material for your font. <br/><br/> Each font Asset has a default material, but you can also create customized materials for it. <br/><br/> This preset list includes all materials whose names contain the font Asset's name, and use the corresponding font atlas texture.|
10|**Font Style**|| Enable standard text styling options. <br/><br/> You can use these options in any combination, except for the casing options (lowercase, uppercase, and small caps), which are mutually exclusive. |
11||B|Bold the text. <br/><br/> The appearance of bold text is defined in the font Asset properties.|
12||I|Italicize the text. <br/><br/> The appearance of italicized text is defined in the font Asset properties.|
13||U| Underline the text. <br/><br/> This renders an extra line below the baseline.|
14||S|Add a strikethrough line to the text. <br/><br/> This renders an extra line above the baseline.|
15||ab| Convert the text to lowercase before rendering. <br/><br/> This does not change text casing in the **Text** field.|
16||AB|Convert the text to uppercase before rendering. <br/><br/> This does not change text casing in the **Text** field. |
17||SC|Use small caps. <br/><br/> The text is displayed in all uppercase, but letters you actually entered in uppercase are larger.|
18|**Font Size**||Specify the text display size, in points.|
19|**Auto Size**||Enable this option to set the font size automatically, based on the **Auto Size Options**. <br/><br/> When this option is enabled, TextMesh Pro lays out the text multiple times to find a good fit. This is a resource intensive process, so avoid auto-sizing dynamic text that changes frequently. <br/><br/> **Tip:** For static text, you can enable **Auto Size**, note the calculated font size (displayed in the Font Size field), then disable Auto Size and apply the calculated size manually.
20|**Auto Size Options**||Define the basic rules for auto-sizing text.|
21||Min|Specify the smallest acceptable font size, in points.|
22||Max|Specify the largest acceptable font size, in points.|
23||WD%|Specify the maximum acceptable amount to reduce character width when sizing the text. <br/><br/> TextMesh Pro squeezes characters to make them taller. This is usually only acceptable for digits.|
24||Line|Adjust the line height. <br/><br/> This is useful for fitting a larger font into a given space.|