Page 1 of 1

(Solved) Strange font in MCC after upgrade to Mga8

PostPosted: Apr 12th, '21, 17:22
by dbg
After the upgrade to Mga8 I have one small cosmetic problem. The font used in MCC appears to be 10 pt A.D Mono. See: http://dennis.homelinuxserver.org/mcc-font.png

This makes it very hard to read. Previous versions of KDE had a setting where fonts in GTK programs could be specified. I changed the GTK theme in system settings/Application Style but it had no effect on MCC. The fonts in other GTK programs (GIMP, Firefox, etc) work fine. Where is the setting to fix the MCC font?

Re: Strange font in MCC after upgrade to Mga8

PostPosted: Apr 12th, '21, 21:54
by benmc
I had this also, affected also login screen.
just check that all your repos have been carried forward in the upgrade and reset if required.

as root
urpmi --auto-update
bought in some missing packages and fixed it for me.

Re: Strange font in MCC after upgrade to Mga8

PostPosted: Apr 13th, '21, 01:58
by dbg
The repos are set correctly and everything is up-to-date. This is the third computer I have upgraded from 7 to 8. The other 2 do not have this problem. The fonts on the login screen (sddm) are OK. The fonts on every program I've tried are OK. Only MCC has this bad font.

Re: Strange font in MCC after upgrade to Mga8

PostPosted: Apr 13th, '21, 18:02
by doktor5000
Is this everywhere in MCC or only in rpmdrake per your screenshot ?

Can you check what gtkrc settings you have and if there's anything related in them?
Code: Select all
find . -iname "*gtkrc*" -ls


This is a mostly default mga8 which was only switch to a dark theme:

Code: Select all
[doktor5000@Mageia8]─[17:56:47]─[~] cat .gtkrc-2.0
gtk-theme-name="Breeze"
gtk-enable-animations=1
gtk-primary-button-warps-slider=0
gtk-toolbar-style=3
gtk-menu-images=1
gtk-button-images=1
gtk-cursor-theme-size=24
gtk-cursor-theme-name="breeze_cursors"
gtk-icon-theme-name="breeze-dark"
gtk-font-name="Noto Sans,  10"

[doktor5000@Mageia8]─[17:57:32]─[~] cat ./.config/gtkrc
# created by KDE Plasma, Mo. Apr. 5 14:29:42 2021
#
include "/usr/share/themes/Breeze/gtk-2.0/gtkrc"

gtk-theme-name="Breeze"

[doktor5000@Mageia8]─[17:57:42]─[~] cat ./.config/gtkrc-2.0
# created by KDE Plasma, Mo. Apr. 5 14:29:42 2021
#

gtk-alternative-button-order = 1

[doktor5000@Mageia8]─[17:57:50]─[~]


Maybe you have some different setting for gtk-font-name ?

edit: also check if you have some gtkrc in root's home folder (/root).

Re: (Solved) Strange font in MCC after upgrade to Mga8

PostPosted: Apr 13th, '21, 22:22
by dbg
Changed gtk-font-name in /root/.config/gtk-3.0/settings.ini to Noto Sans 9. Problem solved. Thanks doctor5000!