Unity Issue Tracker - Fallback font has incorrect underline and strikethrough line thickness and position when in Play Mode
Closed
UUM-60144
Fallback font has incorrect underline and strikethrough line thickness and position when in Play Mode
Unity: Text (TextMeshPro)
TMP
Won't Fix
2023.3.X
2023.2.X
2022.3.X
2021.3.X
As Designed
6.0.X
The underline thickness and offset values can be tweaked in the TMP_FontAsset inspector. TMP will use the underline of the primary TMP_FontAsset assigned to the TextComponent.
Cancelling this 2023.2 tech release issue since the support for this release has come to end of life. Cancelling this 2023.2 port case does not affect any LTS or Unity 6 Beta/Preview that remain open.
Reproduction steps:
1. Open the attached project "ReproProj"
2. Open the “/Assets/Scenes/SampleScene.unity” Scene
3. Enter the Play Mode
4. Observe the Asian language characters
Expected result: Underline and strikethrough lines appear the same as the primary font
Actual result: Thick lines and wrong placement of the underline and strikethrough
Reproducible with: 3.0.6 (2021.3.29f1, 2022.3.7f1, 2023.1.9f1)
Could not test with: UGUI 3.0.0-exp.3 (2023.2.0b5) (Custom font being rendered in triangles or not being rendered at all)
Reproducible on: Windows 10 Enterprise 21H2
Not reproducible on: No other environment tested
Notes:
The text only reacts to changes in the "underline thickness" and "underline offset" of the primary font, not the fallback font
A single connected series of non-whitespace characters from both primary font and fallback font will get the same underlining, as that of the fallback font, whereas this doesn't happen for separated words
Prioritise and Follow this issue
Have a workaround or additional info about this issue?