Search Issue Tracker
By Design
By Design in 2023.2.X
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
- Camera.allCameras returns cameras from all loaded Scenes when using multi-Scene setup
- Camera.layerCullDistances has no effect when GPU Resident Drawer is enabled
- ARM64 and ARMv7 APKs return the same version code when "Split APKs by target architecture" is enabled
- Crash on ProfilerMutexLock when closing a project with specific Assets
- “Callback unregistration failed. Callback not registered.” is thrown when changing layouts with two "Font Asset Creator" windows docked
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.
Resolution Note (2023.2.X):
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.