Hallo,
mir ist nun aufgefallen, dass unter 18.04.3 LTS besonders in Chrome Version 56.0.2924.87 (64-bit) das Schriftbild extrem unleserlich ist, da das Kerning (Buchstabenabstände) kaputt sind. Ich habe leider im Netz kaum brauchbares gefunden und noch nicht sehr viel experimentiert. Vielleicht weiß ja schon jemand, wie man dem begegnen kann.
Mir fiel nun auf, dass das Kerning okay ist wenn man das Antialiasing abschaltet. Scheinbar ist also das Hinting oder Antialiasing unter Plasma kaputt.
Edit (erste Testergebnisse): Mit eingeschaltetem Antialiasing sind die Kerningergebnisse des Fontrenderings sehr gut sowohl bei Firefox 70.0, als auch chromium-browser Version 77.0.3865.90 (Offizieller Build) Built on Ubuntu , running on Ubuntu 18.04 (64-Bit). Edit II: Nach ab- und anschalten des Antialiasings bleibt die Situation nach einem Neustart gleich: Das Kerning des Schriften sind in chrome, sowohl im Browser, z.B. in der Adressleiste, als auch auf de Webseiten kaputt. Es erscheinen eine Art braune feine "Pipezeichen" oder wie diakritische Zeichen zwischen den Buchstaben, bzw. Zeichen, siehe Screenshot im Anhang. Es gibt eine Menge Sperrungen oder Unterschneidungen bei den Zeichen. Mir scheint, dass es auch bei anderen Fonts, also unabhängig vom Font falsch gerendert ist. Z.B. bei der tageszeitung taz, finden sich die Probleme auch bei font-family: taz_xbold, DroidSerif. Mir ist das wohl erst jetzt aufgefallen, da ich sonst chromium-browser, aber meistens Firefox nutze.
https://superuser.com/questions/1239578/chrome-font-not-rendering-properly-after-ubuntu-update
https://stackoverflow.com/questions/10317696/google-chrome-font-optimization
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | gerhard@ubuntu:~$ plasmashell --version plasmashell 5.12.9 gerhard@ubuntu:~$ kf5-config --version Qt: 5.9.5 KDE Frameworks: 5.47.0 kf5-config: 1.0 gerhard@ubuntu:~$ plasma-desktop --version plasma-desktop: Befehl nicht gefunden. gerhard@ubuntu:~$ dpkg -l | grep plasma-desktop\ | awk '{print $3}' | cut -d':' -f2 | cut -d'-' -f1 5.12.9.1 gerhard@ubuntu:~$ apt-cache policy plasma-desktop plasma-desktop: Installiert: 4:5.12.9.1-0ubuntu0.1build1~ubuntu18.04~ppa1 Installationskandidat: 4:5.12.9.1-0ubuntu0.1build1~ubuntu18.04~ppa1 Versionstabelle: *** 4:5.12.9.1-0ubuntu0.1build1~ubuntu18.04~ppa1 500 500 http://ppa.launchpad.net/kubuntu-ppa/backports/ubuntu bionic/main amd64 Packages 100 /var/lib/dpkg/status 4:5.12.9.1-0ubuntu0.1 500 500 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages 4:5.12.4-0ubuntu1 500 500 http://de.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages |
Ergänzend:
Freetype
1 2 3 4 5 6 7 8 | libfreetype6: Installiert: 2.8.1-2ubuntu2 Installationskandidat: 2.8.1-2ubuntu2 Versionstabelle: *** 2.8.1-2ubuntu2 500 500 http://de.archive.ubuntu.com/ubuntu bionic/main amd64 Packages 500 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages 100 /var/lib/dpkg/status |
December 21, 2018, updated on August 10, 2019
The sad state of font rendering on Linux
Preamble
As it turns out, font rendering is a highly controversial topic. If you don’t see anything wrong with Linux font rendering, please disregard this as a shitpost. Thanks.
I spent the first 25 years of my life on Windows and therefore I am biased towards Windows font rendering with ClearType. I also agree with research which suggests that this rendering approach makes reading easier on the eyes. There are also some facts you can’t argue with, such as non-linear rendering without anti-aliasing looking awful.
https://pandasauce.org/post/linux-fonts/
Chrome, Spotify, Slack, Electron apps: add --disable-font-subpixel-positioning to the shortcut. I used to manually patch every binary release of Chrome to enable subpixel positioning, but thanks to this bug in Chromium that turned out to be not necessary.
Due to a beautiful bug in Chromium, it turns out you don't need this binary patch and can **enable** subpixel positioning by asking Chrome **to disable it**: https://bugs.chromium.org/p/chromium/issues/detail?id=824153#c39
Issue 824153: Consider adding --enable-font-subpixel-positioning flag for use on desktop Linux
I think this explains what we are seeing: https://www.freetype.org/freetype2/docs/subpixel-hinting.html