Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[Solved] Too small fonts Stretch/KDE

Graphical Environments, Managers, Multimedia & Desktop questions.
Post Reply
Message
Author
linuxsat
Posts: 50
Joined: 2017-10-20 14:28
Has thanked: 1 time

[Solved] Too small fonts Stretch/KDE

#1 Post by linuxsat »

Hi,

I installed Debian Stretch 9.2 with KDE/Plasma Desktop a couple of weeks ago, I have some little issues, one is the following.

Some application as: system-settings, firefox, thunderbird use very tiny fonts size (looks like 6pt) in their main windows, and channging the size of the fonts in the system-settings do not change them. The size can be changed in the menus, title,.... but not in th the main window. I tried also when possible to change the fonts directly in applications but it do not works.

thanks for any answer,
Last edited by linuxsat on 2018-01-31 07:16, edited 1 time in total.

L_V
Posts: 1477
Joined: 2007-03-19 09:04
Been thanked: 11 times

Re: Too small fonts Stretch/KDE

#2 Post by L_V »

You should install kde-config-gtk-style kde-config-gtk-style-preview to adjust gtk programs.
And then launch:

Code: Select all

kcmshell5 fonts
kcmshell5 kde-gtk-config
Or look in systemsettings.

User avatar
bw123
Posts: 4015
Joined: 2011-05-09 06:02
Has thanked: 1 time
Been thanked: 28 times

Re: Too small fonts Stretch/KDE

#3 Post by bw123 »

I noticed "scale display" at the bottom of the page in systemsettings> display and monitor> displays but I haven't messed with it.
Last edited by bw123 on 2017-12-05 10:22, edited 1 time in total.
resigned by AI ChatGPT

L_V
Posts: 1477
Joined: 2007-03-19 09:04
Been thanked: 11 times

Re: Too small fonts Stretch/KDE

#4 Post by L_V »

@bw123
Assumption: you don't use the right graphics card driver.

User avatar
bw123
Posts: 4015
Joined: 2011-05-09 06:02
Has thanked: 1 time
Been thanked: 28 times

Re: Too small fonts Stretch/KDE

#5 Post by bw123 »

L_V wrote:@bw123
Assumption: you don't use the right graphics card driver.

thanks I will try and fix that
Last edited by bw123 on 2017-12-05 10:22, edited 2 times in total.
resigned by AI ChatGPT

L_V
Posts: 1477
Joined: 2007-03-19 09:04
Been thanked: 11 times

Re: Too small fonts Stretch/KDE

#6 Post by L_V »

@bw123
Your problem is not plasma, but graphic card driver you should first solve (not in a "Too small fonts Stretch/KDE" thread).

linuxsat
Posts: 50
Joined: 2017-10-20 14:28
Has thanked: 1 time

Re: Too small fonts Stretch/KDE

#7 Post by linuxsat »

Thanks for your answers,
L_V wrote:You should install kde-config-gtk-style kde-config-gtk-style-preview to adjust gtk programs.
And then launch:

Code: Select all

kcmshell5 fonts
kcmshell5 kde-gtk-config
Or look in systemsettings.
the kde-config-gtk-style-preview package was missing, so I install it, but no matter what I choose in:
Systemsettings> Appearence > Applicationstyle > Gnome Applicationstyle (GTK), changes the fonts in the main windows. Changes are taken into account for
menus, titlebars, ... only

About bw123's remark
I noticed "scale display" at the bottom of the page in systemsettings> display and monitor> displays but I haven't messed with it.
I think that scale display affect the whole screen, I saw a thread about a resolution problem, but the whole fonts was concerned. I think, it is not a resolution
problem here but probably that I cannot access to some of the fonts used.

L_V
Posts: 1477
Joined: 2007-03-19 09:04
Been thanked: 11 times

Re: Too small fonts Stretch/KDE

#8 Post by L_V »

Do you have a ~/.gtkrc-2.0 file ?
If yes, please post the content.

linuxsat
Posts: 50
Joined: 2017-10-20 14:28
Has thanked: 1 time

Re: Too small fonts Stretch/KDE

#9 Post by linuxsat »

here it is

Code: Select all

# File created by KDE Gtk Config
# Configs for GTK2 programs 

include "/home/toor/.themes/kde42-oxygen/gtk-2.0/gtkrc"
style "user-font" 
{
	font_name="Noto Sans Regular"
}
widget_class "*" style "user-font"
gtk-font-name="Noto Sans Regular 14"
gtk-theme-name="kde42-oxygen"
gtk-icon-theme-name="oxygen"
gtk-fallback-icon-theme="breeze"
gtk-cursor-theme-name="Oxygen 05 Vibrant Red"
gtk-toolbar-style=GTK_TOOLBAR_ICONS
gtk-menu-images=1
gtk-button-images=1
gtk-primary-button-warps-slider=0


L_V
Posts: 1477
Joined: 2007-03-19 09:04
Been thanked: 11 times

Re: Too small fonts Stretch/KDE

#10 Post by L_V »

gtk-theme-name="kde42-oxygen" => not provided by Debian.

Try with gtk2-engines-oxygen or gtk2-engines-qtcurve
Your gtk2 theme font size is here => gtk-font-name="Noto Sans Regular 14"

"the size can be changed in the menus, title,.... but not in th the main window."

Did you try with a new profile ?
firefox -P

linuxsat
Posts: 50
Joined: 2017-10-20 14:28
Has thanked: 1 time

Re: Too small fonts Stretch/KDE

#11 Post by linuxsat »

L_V wrote:gtk-theme-name="kde42-oxygen" => not provided by Debian.
Yes it is provided by kde contributors, I found it using the regular system-settings app (no frankenDebianization here!).
L_V wrote:Try with gtk2-engines-oxygen or gtk2-engines-qtcurve
Your gtk2 theme font size is here => gtk-font-name="Noto Sans Regular 14"
Thanks for that, I was not aware of that packages. Unfortunately it does not changes things....
The fonts choice there seems not apply to the main part of the concerned windows (?)
L_V wrote:Did you try with a new profile ?
I fact I installed new theme (the oxygen42) exactly to make such a test. The problem
was already there just after the installation with the default "Breeze" theme.

I also tried to change font (one by one) everywhere using the system-settings without effect.
Is it possible that some fonts were unchangeable?

L_V
Posts: 1477
Joined: 2007-03-19 09:04
Been thanked: 11 times

Re: Too small fonts Stretch/KDE

#12 Post by L_V »

There is no direct interaction between global KDE font system setting with gtk applications.
Did you try with a live CD session to investigate ?
Are you sure your graphic driver is the correct one ?

linuxsat
Posts: 50
Joined: 2017-10-20 14:28
Has thanked: 1 time

Re: Too small fonts Stretch/KDE

#13 Post by linuxsat »

L_V wrote:There is no direct interaction between global KDE font system setting with gtk applications.
Ok, so I suspect that some configuration file somwhere in the system supersed the configuration done with the KDE tools.
i think like that, because of other small config problems. for instance, in "dolphin" part of my settings are not taken into account (i will probably open another
thread for that in the future). Are you aware of the existence of such "master" config files?
L_V wrote:Did you try with a live CD session to investigate ?
Not yet, I will do so!
L_V wrote:Are you sure your graphic driver is the correct one ?
Yes, in fact, the problem was there just after the install. Then, I installed "Bumblebee" with the driver recommended for my (secondary Nvidia) card. I also
read the system log, nothing seems wrong there, but I'am maybe not sufficiently skilled?

I updated my reply, because I tried with a live usb, unfortunately no change. I'm pretty shure that the problem comes from some config files which supersed the user's ones.
I will search in that direction.

I answer to myself because I finally found a way to circumvent the problem:
System settings->Appearance->Fonts.
Then, check the box "Force dpi" and incrase the size (for me from 96 to 140).

A rather detailed howto is
https://wiki.archlinux.org/index.php/HiDPI#KDE

Post Reply