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
- “FMOD failed to set the software format to the custom sample rate…” warnings are thrown as System Sample Rate value is being changed in Audio section of Project Settings window
- VFX Marquee selection does match the visual indicator
- “Invalid AABB aabb” errors are spammed when “Infinity” value is entered in Collider Component fields
- Editor Role does not sync with the MPPM Play Mode Scenario Role when entering Play mode
- Long asset names cause overlap with the “Find” function in search result tabs
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.