[yast-devel] before I file another bug about font sizes...
...I want to make sure there is a solution that I simply have not yet found. Expected (OK) fonts results (e.g.): sw_single @120 DPI in KDE3 on 13.1: http://fm.no-ip.com/SS/Suse/YaST/newbug-yast2fontsizesOK131kde3-120.png sw_single @132 DPI in KF5 on TW: http://fm.no-ip.com/SS/Suse/YaST/newbug-yast2fontsizesOKtwkde5-132.png Not expected (undersized) fonts results (e.g.): sw_single @108 DPI in TDE on 13.2: http://fm.no-ip.com/SS/Suse/YaST/newbug-yast2fontsizesTooSmall132tde-108.png sw_single @120 DPI in KDE3 on 42.1: http://fm.no-ip.com/SS/Suse/YaST/newbug-yast2fontsizesTooSmall421kde3-120.pn... sw_single @168 DPI in KDE3 on 42.1: http://fm.no-ip.com/SS/Suse/YaST/newbug-yast2fontsizesTooSmall421kde3-168.pn... Clearly sw_single (and other y2 apps) post-13.1 (except in KF5) is using smaller fonts than those used in the y2 control center and in the rest of DE UI, as if both the non-KF5 DE's font settings and QT's font setting in Trolltech.conf are being disregarded. Is there something that can be installed or removed to bring up font sizes to match the rest of the DE and y2cc in KDE3 and TDE without loading the installation with QT5 and/or KF5, or even with QT5 and/or KF5? Or, is this a bug that's already been filed, or one that needs filing? -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org To contact the owner, e-mail: yast-devel+owner@opensuse.org
Dne 29.12.2015 v 08:06 Felix Miata napsal(a):
Clearly sw_single (and other y2 apps) post-13.1 (except in KF5) is using smaller fonts than those used in the y2 control center and in the rest of DE UI, as if both the non-KF5 DE's font settings and QT's font setting in Trolltech.conf are being disregarded.
IIRC the Trolltech.conf file is used for Qt4, YaST (libyui) now uses Qt5...
Is there something that can be installed or removed to bring up font sizes to match the rest of the DE and y2cc in KDE3 and TDE without loading the installation with QT5 and/or KF5, or even with QT5 and/or KF5? Or, is this a bug that's already been filed, or one that needs filing?
Um, it's a bit tricky... - YaST uses plain Qt library, no KDE/whatever... layer above it (so any KDE/Plasma5 setting probably cannot affect the default fonts). - YaST runs under the root user - any non-root user desktop settings obviously cannot change it. But you can try the Qt5 configuration tool (run both as root): # zypper in libqt5-qtct # qt5ct Set the desired font size in the "Fonts" tab in the dialog (press the "..." button to change the default). Then press OK to save the settings. Now try running YaST... Note: After relogin in KDE5 the vast majority of icons were missing for me when I tried it few weeks/months ago, but it seems to be fixed in the updated package (in openSUSE-Leap-42.1-Update). I tracked the issue down to the /etc/profile.d/qt5ct.* files, if you have some problems in KDE after changing the fonts remove those files... HTH -- Ladislav Slezák Appliance department / YaST Developer Lihovarská 1060/12 190 00 Prague 9 / Czech Republic tel: +420 284 028 960 lslezak@suse.com SUSE -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org To contact the owner, e-mail: yast-devel+owner@opensuse.org
On 04.01.2016 11:49, Ladislav Slezak wrote:
Dne 29.12.2015 v 08:06 Felix Miata napsal(a):
Clearly sw_single (and other y2 apps) post-13.1 (except in KF5) is using smaller fonts than those used in the y2 control center and in the rest of DE UI, as if both the non-KF5 DE's font settings and QT's font setting in Trolltech.conf are being disregarded. ... # zypper in libqt5-qtct # qt5ct
Set the desired font size in the "Fonts" tab in the dialog (press the "..." button to change the default). Then press OK to save the settings. Now try running YaST...
Note: After relogin in KDE5 the vast majority of icons were missing for me when I tried it few weeks/months ago, but it seems to be fixed in the updated package (in openSUSE-Leap-42.1-Update).
I tracked the issue down to the /etc/profile.d/qt5ct.* files, if you have some problems in KDE after changing the fonts remove those files...
https://github.com/libyui/libyui-qt-pkg/blob/master/src/YQPkgGenericDetailsV... QString css; css = "table.stats" "{text-align: center;" "font-family: Verdana, Geneva, Arial, Helvetica, sans-serif ;" "font-weight: normal;" "font-size: small;" "width: 100%;" "" "border: 1px;" "border-collapse: collapse;" "border-spacing: 4px;}" "" "table.stats td" "{" "padding: 4px;" "text-align: left;" "border: 1px; solid;" "}" "" "table.stats td.hed" "{" "padding: 4px;" "text-align: left;" "border-bottom: 2px; solid;" "font-size: small;" // <<--------------- "font-weight: bold;} "; document()->addResource( QTextDocument::StyleSheetResource, QUrl( "format.css" ), css ); This is probably the problem here: Using a style sheet with no clear specification what font to use. We request a font size "small", and small is indeed what we get. We should probably be more specific here; the question is where and how exactly to configure that so that it works in all scenarios. Kind regards -- Stefan Hundhammer <shundhammer@suse.de> YaST Developer SUSE Linux GmbH GF: Felix Imendörffer, Jane Smithard, Graham Norton; HRB 21284 (AG Nürnberg) Maxfeldstr. 5, 90409 Nürnberg, Germany -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org To contact the owner, e-mail: yast-devel+owner@opensuse.org
Ladislav Slezak composed on 2016-01-04 11:49 (UTC+0100):
But you can try the Qt5 configuration tool (run both as root):
# zypper in libqt5-qtct # qt5ct
Set the desired font size in the "Fonts" tab in the dialog (press the "..." button to change the default). Then press OK to save the settings. Now try running YaST...
Has this been changed in 42.2rc1? Zypper cannot find libqt5-qtct, and which can't find qt5ct. -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org To contact the owner, e-mail: yast-devel+owner@opensuse.org
Dne 21.10.2016 v 08:15 Felix Miata napsal(a):
Ladislav Slezak composed on 2016-01-04 11:49 (UTC+0100):
But you can try the Qt5 configuration tool (run both as root):
# zypper in libqt5-qtct # qt5ct
Set the desired font size in the "Fonts" tab in the dialog (press the "..." button to change the default). Then press OK to save the settings. Now try running YaST...
Has this been changed in 42.2rc1? Zypper cannot find libqt5-qtct, and which can't find qt5ct.
For me zypper found "qt5ct" package in the openSUSE-Leap-42.2-Oss repository, not on the installation DVD. So make sure you have the OSS repository present and enabled. There is no libqt5-qtct package, it seems it has been renamed in 42.2. But when I run "qt5ct" it displays "The QT_QPA_PLATFORMTHEME environment variable is not set correctly" error and then exits. But that's not an YaST issue, ask the Qt maintainers or report a bug... -- Ladislav Slezák YaST Developer SUSE LINUX, s.r.o. Corso IIa Křižíkova 148/34 18600 Praha 8 -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org To contact the owner, e-mail: yast-devel+owner@opensuse.org
participants (3)
-
Felix Miata
-
Ladislav Slezak
-
Stefan Hundhammer