UnityGame/Library/PackageCache/com.unity.ugui/Documentation~/TextMeshPro/RichTextCharacterSpacing.md

17 lines
508 B
Markdown
Raw Normal View History

2024-10-27 10:53:47 +03:00
# Character Spacing
The `<cspace>` tag allows you to adjust character spacing, either absolute or relative to the original font Asset. You can use pixels or font units.
Postive adjustments push the characters apart, negative adjustments pull them together.
The closing `</cspace>` tag reverts back to the font's normal spacing.
**Example:**
```
<cspace=1em>Spacing</cspace> is just as important as <cspace=-0.5em>timing.
```
![Example image](../images/TMP_RichTextSpacing.png)<br/>
_Character spacing_