[kde] [Bug 464824] GTK don't follow global font configuration

David bugzilla_noreply at kde.org
Thu Mar 16 16:28:47 GMT 2023


https://bugs.kde.org/show_bug.cgi?id=464824

--- Comment #12 from David <david.cortes.rivera at gmail.com> ---
(In reply to Luca Bacci from comment #11)
> Hello! It's possible to specify the desired font for generic widgets,
> document content (e.g textviews) or momospace content (e.g sourceview for
> viewing source code, or vote for terminals)
> 
> See for example:
> https://gitlab.gnome.org/GNOME/gnome-tweaks/-/blob/40.0/gtweak/tweaks/
> tweak_group_font.py#L109
> 
> Could you report the output of:
> 
> 1. gsettings get org.gnome.desktop.interface font-name
> 2. gsettings get org.gnome.desktop.interface document-font-name
> 3. gsettings get org.gnome.desktop.interface monospace-font-name"
> 
> 2 or 3 should be different. In that case you can set them to Noto 11 that
> way:
> 
> * gsettings set org.gnome.desktop.interface document-font-name "Noto 11"
> 
> I'll have a look at how kde-gtk-config handles that!

Thanks. So this is what the commands output:
david at debian:~$ gsettings get org.gnome.desktop.interface font-name
'Cantarell 11'
david at debian:~$ gsettings get org.gnome.desktop.interface document-font-name
'Cantarell 11'
david at debian:~$ gsettings get org.gnome.desktop.interface monospace-font-name
'Monospace 11'

So then I executed the following:
gsettings set org.gnome.desktop.interface font-name "Noto  11"
gsettings set org.gnome.desktop.interface document-font-name "Noto  11"
gsettings set org.gnome.desktop.interface monospace-font-name "Noto  11"

And restarted the computer. Then, I get:
david at debian:~$ gsettings get org.gnome.desktop.interface font-name
'Noto 11'
david at debian:~$ gsettings get org.gnome.desktop.interface document-font-name
'Noto 11'
david at debian:~$ gsettings get org.gnome.desktop.interface monospace-font-name
'Noto 11'


BUT all these GTK apps **still** use the same fonts as before (**not** Noto
Sans 11).

I also tried with variations:
Noto / Noto Sans / Noto Sans Regular
comma / no comma
one space / two spaces

But none of that seemed to have any effect.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Unassigned-bugs mailing list