Unity Issue Tracker - Font size calculation is different for each letter when using UnityEngine.GUIStyle.CalcSize
Fixed
UUM-46147
Font size calculation is different for each letter when using UnityEngine.GUIStyle.CalcSize
Unity: IMGUI Framework
Fixed
2023.3.X
2023.2.X
Won't Fix
2023.1.X
2023.1.0a20 onwards
Fixed IMGUI CalcSize() to take advance space into account
Fixed IMGUI CalcSize() to take advance space into account
How to reproduce:
1. Open the attached project "mono-font-repro-project.zip"
2. Select Assets/ReproScriptableObject.asset in the Project window
Expected results: Values for letters from "a" to "z" in the Inspector window are identical
Actual results: Values for letters from "a" to "z" in the Inspector window are different