Search Issue Tracker
By Design
Votes
1
Found in
2022.3.4f1
2023.1.3f1
2023.2.0a21
Issue ID
UUM-41305
Regression
Yes
Gaps between letters appear when using a font that should not contain gaps if using TextMeshPro text
How to reproduce:
1. Open the user’s attached “TextMesh Pro Scaling Bug.zip” project
2. In the Game window observe the text below the “TextMesh Pro” text
Expected result: There are no gaps between the letters
Actual result: There are gaps between the letters
Reproducible with: 3.0.6 (2022.1.0a1, 2022.1.24f1), 4.0.0-pre.2 (2022.3.4f1, 2023.1.3f1, 2023.2.0a21)
Not reproducible with: 3.0.6 (2021.2.0b1, 2021.3.28f1)
Reproduced on: macOS 13.2.1 (Intel)
Notes:
Issue not reproducible with a legacy text
Reproducible in the editor and the player
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Sprite Masks affect Sprite Renderers outside their range when a Light2D is present with specific Target Sorting Layers selected
- URP Lens Flare is rendered in the wrong position when Render Graph Compatibility Mode is enabled and Render Scaling is not 0
- Editor crashes on DrvPresentBuffers when loading RenderDoc while using OpenGLES 3.0 or OpenGLES 2.0 Graphics API
- [Test Runner] Incorrect name under Window > Panel after project restart
- [iOS] Crash when using fallback fonts created at runtime
Resolution Note:
The gap between the letters when scaling can be explained by the Atlas Render Mode. When set to "Hinted", it will always align glyphs on the pixel grid to ensure crisp text. This, however, comes at the expense of overriding the original glyph's position, as it may need to offset the glyph position to ensure it is aligned on the pixel grid. The offset is what's causing the missing pixel column to appear at certain scales.
Using an Atlas Render Mode of "Raster" instead of "Raster Hinted" should fix the issue.