Bugzilla – Bug 956357
Inconsistent fonts between Qt4 and GTK/Qt5 apps when using Roboto
Last modified: 2018-07-13 22:40:07 UTC
Created attachment 657030 [details] qtconfig showing that Roboto Black is selected. Hi! I'm using openSUSE Tumbleweed with MATE 1.12 desktop and Qt theme is set to GTK+. After last snapshot, I switched the default font to Google's Roboto using `mate-appearance-properties`. I also changed it in KDE `systemsettings5`. However, I noticed that all Qt4 apps was showing a darker font. Then, when I tried to configure using `qtconfig`, it shows that the selected font was Roboto Black instead of Roboto Regular. I tried many things, but as far as GTK+ theme is selected, I could not change the font in `qtconfig` to Roboto Regular, which seems to be causing the problem. I'm uploading three figures: 1) The qtconfig showing that Roboto Black font is selected; 2) A screenshot of kwrite, showing the correct font (Roboto Regular); 3) A screenshot of digikam, showing the wrong font (Roboto Black). Here is additional information about my system: $cat /etc/os-release NAME=openSUSE VERSION="Tumbleweed" VERSION_ID="20151118" PRETTY_NAME="openSUSE Tumbleweed (20151118) (x86_64)" ID=opensuse ANSI_COLOR="0;32" CPE_NAME="cpe:/o:opensuse:opensuse:20151118" BUG_REPORT_URL="https://bugs.opensuse.org" HOME_URL="https://opensuse.org/" ID_LIKE="suse"
Created attachment 657031 [details] kwrite with the correct font (Roboto Regular)
Created attachment 657032 [details] digikam with the wrong font (Roboto Black)
Qt 4 bug: https://bugreports.qt.io/browse/QTBUG-38482 https://bugreports.qt.io/browse/QTBUG-25814 https://bugreports.qt.io/browse/QTBUG-27301
*** Bug 956309 has been marked as a duplicate of this bug. ***
In the mean time, I fixed the problems by removing the Roboto-Medium* fonts. On other words, by deleting/moving the following files: /usr/share/fonts/truetype/Roboto-MediumItalic.ttf /usr/share/fonts/truetype/Roboto-Medium.ttf and running fc-cache -vf
fix was submitted: https://build.opensuse.org/request/show/520824
SUSE-SU-2018:1902-1: An update that solves one vulnerability and has four fixes is now available. Category: security (moderate) Bug References: 1039291,1042657,956357,964458,982826 CVE References: CVE-2016-10040 Sources used: SUSE Linux Enterprise Workstation Extension 12-SP3 (src): libqt4-4.8.7-8.6.1, libqt4-sql-plugins-4.8.7-8.6.1, qt4-qtscript-0.2.0-11.2.4 SUSE Linux Enterprise Software Development Kit 12-SP3 (src): libQtWebKit4-4.8.7+2.3.4-4.5.1, libqca2-2.0.3-17.2.1, libqt4-4.8.7-8.6.1, libqt4-devel-doc-4.8.7-8.6.4, libqt4-sql-plugins-4.8.7-8.6.1 SUSE Linux Enterprise Server 12-SP3 (src): libQtWebKit4-4.8.7+2.3.4-4.5.1, libqca2-2.0.3-17.2.1, libqt4-4.8.7-8.6.1, libqt4-devel-doc-4.8.7-8.6.4, libqt4-sql-plugins-4.8.7-8.6.1 SUSE Linux Enterprise Desktop 12-SP3 (src): libQtWebKit4-4.8.7+2.3.4-4.5.1, libqca2-2.0.3-17.2.1, libqt4-4.8.7-8.6.1, libqt4-sql-plugins-4.8.7-8.6.1, qt4-qtscript-0.2.0-11.2.4