Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: Issues with fonts and antialiasing in GTK apps (Read 418 times) previous topic - next topic
0 Members and 4 Guests are viewing this topic.

Issues with fonts and antialiasing in GTK apps

Hello, guys! New Artix user here.

I have a question. I see that you heavily themed gtk to look uniform with kde apps. I'm using Artix XFCE runit edition. I want to completely undo this.

The thing is that I've disabled antialiasing in XFCE. Well, I always do this in other distros since I like thin and crispy fonts. But I'm having issues with fonts in some apps like GIMP, Hexchat etc. I've installed Tahoma font and selected it globally in my DE. This works in Debian and Void Linux without problems.

At first I thought it was a GIMP issue but I see this in other apps as well.

Here is how GIMP looks: http://0x0.st/owxd.png

Here is Hexchat: http://0x0.st/owxn.png

The Tahoma font is garbled for some unknown reason. And the theming is strange. It should be just light windows and toolboxes. But they are dark.

Again, this is all normal in other distros. I'm using Arc theme, but it's the same with other XFCE themes too.

After some googling and fiddling I've managed to make the main GIMP window to show normal fonts: http://0x0.st/ow3i.png
By editing the GIMP's theme file (/usr/share/gimp/2.0/themes/Light/gtkrc).

But not the Preferences and other toolboxes etc. The're still garbled.

Is there some gtk setting that I'm missing? I've deleted all .gtk-2.0, 3.0 and 4.0 directories etc. I want to undo this completely.

SOLVED: Had to edit the /usr/share/gtk-2.0/gtkrc file. It was heavily themed.

Re: Issues with fonts and antialiasing in GTK apps

Reply #1
I guess I should try the base runit install ISO and see if it fixes my issue.

Is there anything I should be aware of when installing the base one? Like groups of packages? Meta packages? I want:
- XFCE
- NetworkManager
- Lightdm

Should I simply install them afterwards?

TIA

Re: Issues with fonts and antialiasing in GTK apps

Reply #2
Install and enable services where appropriate.

I was going to advise the base install earlier. But then my job distracted me.
If you are able it's the way to go. Start with a blank(ish) slate.

Re: Issues with fonts and antialiasing in GTK apps

Reply #3
Hello, guys! New Artix user here.

I have a question. I see that you heavily themed gtk to look uniform with kde apps. I'm using Artix XFCE runit edition. I want to completely undo this.

From https://wiki.archlinux.org/title/GTK#Configuration :
Quote
GTK settings can be specified manually in configuration files, but desktop environments and applications can override these settings. Depending on GTK version, these files are located at:

GTK 2 user specific: ~/.gtkrc-2.0
GTK 2 system wide: /etc/gtk-2.0/gtkrc
GTK 3 user specific: $XDG_CONFIG_HOME/gtk-3.0/settings.ini, or $HOME/.config/gtk-3.0/settings.ini if $XDG_CONFIG_HOME is not set
GTK 3 system wide: /etc/gtk-3.0/settings.ini

you might want to take a look at global GTK config files in /etc, I would also advise taking a look at /usr/share/gtk*, I see there are some files there so that also might be relevant.

Re: Issues with fonts and antialiasing in GTK apps

Reply #4
From https://wiki.archlinux.org/title/GTK#Configuration :
I would also advise taking a look at /usr/share/gtk*, I see there are some files there so that also might be relevant.

Jeez... Thank you very much for pointing out the /usr/share/gtk* directories. Had to edit the /usr/share/gtk-2.0/gtkrc file.

The problem is fixed now!

Cheers.