minesweeper_game/Library/PackageCache/com.unity.ugui@22ebcc83720a/Documentation~/TextMeshPro/RichTextMonospace.md
2025-03-15 14:30:26 -04:00

487 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.

Example image
Treating a font as monospace