Created attachment 146272 [details] Example with Source Sans 3 SUMMARY *** Font kerning is incorrect for certain fonts in KDE apps only. GTK apps have correct kerning. *** STEPS TO REPRODUCE 1. Open systemsettings > Fonts 2. Set general font to Ubuntu, Calibri, or Source Sans 3, size 8 3. Apply and then look at kerning in KDE apps OBSERVED RESULT Font kerning is wrong when using Ubuntu, Calibri, Source Sans Pro, or Source Sans 3. Some other fonts I tested render correctly such as Liberation Sans, DejaVu Sans, Noto Sans, Roboto. EXPECTED RESULT Correct font kerning SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 5.23.5 KDE Frameworks Version: 5.90.0 Qt Version: 5.15.2 Fontconfig Version: 2:2.13.94-2 Kernel Version: 5.15.19-xanmod1-tt-1 (64-bit) Graphics Platform: X11 Processors: 16 × Intel® Core™ i9-9900K CPU @ 3.60GHz Memory: 31.3 GiB of RAM Graphics Processor: NVIDIA GeForce RTX 3080 Ti/PCIe/SSE2 ADDITIONAL INFORMATION I checked all my DPI settings. Xorg is manually set to 108 DPI. KDE font settings are forced to 108 DPI. ~/.config/fontconfig/fonts.conf DPI is set to 108. Xft.dpi is also set to 108. GTK apps render these same fonts correctly.
Created attachment 146273 [details] Example with Ubuntu
Created attachment 146276 [details] Correct rendering in Font Management Source Sans 3 renders correctly in Font Management
I have found that the same fonts I'm having trouble with do render correctly in Font Management. The kerning seems to only be incorrect when the fonts are used in UI elements.
Original report states that Noto Sans is not affected. Turns out it is, but it's less obvious. When using the affected fonts, some letters appear to be shifted to the left when they follow certain other letters. For example the letter e is shifted to the left when it follows r, g, t. The letter o gets shifted to the left when it follows c. The letter x gets shifted when it follows p, etc.
What about non-KDE Qt apps? For example: VLC, Clementine, QDirStat, or VirtualBox? Do those apps exhibit the issue as well?
(In reply to Nate Graham from comment #5) > What about non-KDE Qt apps? For example: VLC, Clementine, QDirStat, or > VirtualBox? Do those apps exhibit the issue as well? It does happen in VLC and Clementine, so I guess it needs to be reported to QT instead.
Yep, sounds like it. You can do so at https://bugreports.qt.io. After doing so, could you paste it in the "URL" field of this ticket? Thanks!