Search Issue Tracker
Fixed
Fixed in 2022.2.12f1, 2023.1.0a23
Votes
1
Found in
2022.1.18f1
2022.2.0a18
2023.1.0a14
Issue ID
UUM-16010
Regression
No
Symbols in the text has an offset to the right side when using Italic Font Style
The shearAdjustment is specific to each font and the best way to resolve this issue would be to expose more customizability for the synthetic Italic.
*+Initial Bug Case+*
How to reproduce:
1. Open the user’s attached project
2. Observe the Game view
Expected result: Symbols ‘ and . don’t have an offset
Actual result: Symbols ‘ and . do have an offset
Reproducible with: 3.0.6, 3.2.0-pre.3 (2020.3.37f1, 2021.3.8f1), 4.0.0-pre.1 (2022.1.12f1, 2022.2.0b3, 2023.1.0a4)
Reproduced on: macOS 12.4 (Intel)
Notes:
- Not reproducible with Legacy Text
- Reproducible with symbols: . (dot), ‘ (apostrophe), _ (underscore), ` (backtick)
- Changing “TMPro_UGUI_Private.cs“ script line “Vector3 shearAdjustment = new Vector3((topShear.x - bottomShear.x) / 2, 0, 0);” to “Vector3 shearAdjustment = new Vector3(0, 0, 0);“ solves the issue
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
- Inspector window flickers when a selector is created using a Style Class List Section
- [iOS] "UnityBatchPlayerLoop()" causes a freeze in the iOS application when it is put to the background and brought back to the foreground
- "Perform Selected" of Shortcut Manager window does not perform the shortcut in some cases
- Crash on mono_get_hazardous_pointer when running Play Mode tests in a specific project
- [iOS] ‘확인’(Done) and '취소'(Cancel) text is displayed as '...' in the on-screen keyboard when the System preferred language is set to Korean
Resolution Note (fix version 2023.1.0a23):
Fixed in: 2023.1.0a23
Resolution Note (fix version 2022.2.12f1):
Fixed in: 3.2.0-pre.4 (2022.2.12f1)