Search Issue Tracker
By Design
Votes
0
Found in
2022.3.48f1
Issue ID
UUM-83338
Regression
Yes
The width of UI Toolkit buttons with Rich Text is calculated incorrectly when using the "bold" tag
How to reproduce:
1. Open the attached “IN-84259” project
2. In the Assets folder select and open the “ButtonIssueRepro” UXML file
3. Observe the Viewport window
Expected result: The two text buttons are perfectly aligned vertically
Actual result: The top text button is slightly cut off on the left side compared to the bottom text button
Reproducible in: 2022.2.0a10, 2022.3.48f1
Not reproducible in: 2021.3.44f1, 2022.2.0a9, 6000.0.21f1
Reproducible on: Windows 10, Windows 11
Not reproducible on: No other environments tested
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
- Shader Graph Node information is briefly displayed in Graph Inspector when clicking on Category in the Blackboard
- Module installation fails with "Download failed: Validation Failed" errors when using beta.2 Hub version
- JsonConvert conversion fails trying to call GetCallbackMethodsForType when [OnDeserialized] is used in a class
- Shader Graph Category dropdown cannot be expanded/collapsed when clicking on the text
- Different text alignment in the column header in Entities "System" window
Resolution Note:
This behavior is expected. When no fallbacks are defined in the FontAsset’s font weight fallback table, bold or italic styles are synthetically generated from the primary font asset’s glyphs. This process inflates the glyph vertices without impacting layout.
For higher-quality bold rendering, we recommend specifying a fallback in the font weight table.