Created attachment 121267 [details] A screenshot of kdialog showing a too large title bar SUMMARY STEPS TO REPRODUCE 1. Run kdialog --title "test ⛧ test" --msgbox "test test test test test test test test test" OBSERVED RESULT The title bar is much larger than it should be. EXPECTED RESULT Same title baras always SOFTWARE/OS VERSIONS Linux/KDE Plasma: Ubuntu 19.04 / 5.15.4 (available in About System) KDE Frameworks Version: 5.15.4 Decoration: Plastik
Created attachment 121268 [details] A screenshot of a kdialog showing the correct title bar
How is the text rendered if you type it into a QLineEdit? For example, in a file dialog?
Created attachment 121273 [details] Rendering of the text in a input field of "kdialog --urlopendialog"
No KDE code decides how much space a character gets. It's encoded in the fonts, but individual libraries (freetype, Qt) might override it with specific code for various CJK width or Emoji related adjustments.
What does this mean for this bug? I experience the behaviour in the KWin title bar and as a user I would like to have it fixed. Did you report it to upstream or what is the correct upstream to report it to? I guess the best course of action would be, when you work with the upstream, as I already see an upstream bug closed as "Wontfix: KDE issue, ask the KDE project".
I would suggest to try different fonts. If this is reproducible with all fonts, then the change is either in libfreetype, or in Qt. Knowing what versions you updated would help to pinpoint the commit that changed it.