MIF_E31211846/Library/PackageCache/com.unity.ugui@2.0.0/Documentation~/TextMeshPro/RichTextMonospace.md

471 B

Monospacing

You can override a font's character spacing and turn it into a monospace font with the <mspace> tag. This gives all characters the same amount of horizontal space.

You can specify the character width in pixels or font units.

The </mspace> closing tag clears all monospace overrides.

Example:

Any font can become <mspace=2.75em>monospace, if you really want it.


Treating a font as monospace