Quick answer: Unity TextMeshPro mixed-font text rendering with baseline misalignment? Per-font baseline metrics differ; explicitly set baseline shift in style tag.

Markdown chat with code in monospace shows baseline jumps between regular and monospace text.

Set baseline shift

Style tag: <voffset=2>monospace</voffset>. Per-section shift compensates.

Or use a font with matching metrics

Author fonts with shared baseline. Avoids the shift class.

Verify per font pair

Render side-by-side; check baseline alignment. Mismatch surfaces; fix at authoring time.

“Fonts have their own baselines. Mixed = shifted by default.”

If you use mixed fonts in TMP, the baseline audit is one-time work per font combo. Document.

Related reading