Bug 437547

Summary: Bad font kerning in internet browsers (Firefox on Wayland, Opera and Vivaldi)
Product: [KDE Neon] neon Reporter: Patrick Silva <bugseforuns>
Component: Packages Unstable EditionAssignee: Neon Bugs <neon-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: jr, neon-bugs-null, sitter
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Firefox on Wayland
Firefox on Xwayland

Description Patrick Silva 2021-05-23 13:22:48 UTC
Created attachment 138703 [details]
Firefox on Wayland

I use default font settings in Fonts KCM and Firefox.
Opera and Vivaldi browsers are also affected, but I do not use their default font settings. Opera and Vivaldi are affected on both X11 and Wayland sessions,
Firefox is only affected when runs natively on Wayland.
Please compare the attached screenshots showing Firefox 88.0.1 on Wayland and Xwayland when I load the link below.

https://szopa.org.pl/kde/2021/05/23/KDE-Goals-May-2021.html

Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.22.80
KDE Frameworks Version: 5.83.0
Qt Version: 5.15.2
Comment 1 Patrick Silva 2021-05-23 13:23:17 UTC
Created attachment 138704 [details]
Firefox on Xwayland
Comment 2 Harald Sitter 2021-05-25 05:38:52 UTC
I'm guessing you have the Roboto font installed?
Comment 3 Harald Sitter 2021-05-25 10:05:44 UTC
Git commit b52ae1e91dd3cd0bdf7f11d6d36fde0141be1afc by Harald Sitter.
Committed on 25/05/2021 at 05:47.
Pushed by sitter into branch 'Neon/release-lts'.

remove the roboto hinting rules

a) we don't ship roboto so we really do not care
b) they break kerning in firefox
c) seeing as this file is about noto we have no reason to meddle with
roboto to begin with :shrug:

M  +0    -9    etc/fonts/conf.avail/56-neon-noto.conf

https://invent.kde.org/neon/neon/settings/commit/b52ae1e91dd3cd0bdf7f11d6d36fde0141be1afc
Comment 4 Patrick Silva 2021-07-11 13:15:15 UTC
Can reproduce again, only if Roboto font is installed.

Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.22.80
KDE Frameworks Version: 5.85.0
Qt Version: 5.15.3
Graphics Platform: Wayland
Comment 5 Patrick Silva 2025-08-02 13:52:59 UTC
Cannot reproduce.

Operating System: KDE neon Unstable Edition
KDE Plasma Version: 6.4.80
KDE Frameworks Version: 6.18.0
Qt Version: 6.9.1
Graphics Platform: Wayland