You are not logged in.

#1 2022-05-25 22:32:45

shoelesshunter
Member
From: USA
Registered: 2014-05-18
Posts: 289

[solved] gtk fonts took terrible

I am using Plasma (with i3wm) to manage my desktop system.

this is a screenshot of k3B (qt), and deluge (gtk).

https://imgur.com/7EqvNKX

why does my qt application have smooth fonts while the gtk window is barley legible?  this behavior is across the board with all qt vs. gtk applications.

I've gone over the fonts part of the wiki and tried some things posted here, but I'm not getting the desired result.

thanks

Last edited by shoelesshunter (2022-05-27 00:54:27)

Offline

#2 2022-05-26 06:07:55

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,638

Re: [solved] gtk fonts took terrible

https://bbs.archlinux.org/viewtopic.php?id=275119 ?
You're probably only setting the antiliasing through some KDE setting?
https://bbs.archlinux.org/viewtopic.php … 8#p2035968

Online

#3 2022-05-26 09:24:34

geopardo
Member
From: Europe
Registered: 2021-03-23
Posts: 169

Re: [solved] gtk fonts took terrible

try look this configurations ..

font configurations
# ls /usr/share/fontconfig/conf.avail/
09-autohint-if-no-hinting.conf
10-sub-pixel-rgb.conf

# ls /usr/share/fontconfig/conf.default/
# ls /etc/fonts/conf.d/ !! README file

system fonts
# ls -la /etc/fonts/
# ls -la /etc/fonts/conf.d/
# fc-list : file !! List of known Fontconfig fonts.
# fc-list !! List installed fonts.
# sudo pacman -S noto-fonts-cjk !! Readable cjk fonts.
# cat /etc/fonts/fonts.conf

enable globaly configurations
# ls /usr/share/fontconfig/conf.avail/
# cd /etc/fonts/conf.d/
# sudo ln -s /usr/share/fontconfig/conf.avail/10-hinting-slight.conf

 unlink configuration 
$ ls /usr/share/fontconfig/conf.avail/
# sudo find / -xtype l -print !! Find broken symlinks.

$ ls /etc/fonts/conf.d/
$ ls /usr/share/fontconfig/conf.default/

$ ls -la /etc/fonts/conf.d/

Example

$ sudo unlink /etc/fonts/conf.d/10-hinting-slight.conf
$ sudo unlink /etc/fonts/conf.d/10-autohint.conf
$ sudo unlink /etc/fonts/conf.d/10-hinting-full.conf

$ ls -la /usr/share/fontconfig/conf.default/
$ sudo unlink /usr/share/fontconfig/conf.default/10-hinting-slight.conf

------------------------
peer user configurations 
# cd /etc/fonts/conf.d/
# ln -s /usr/share/fontconfig/conf.avail/x-pluto.conf ~/.confg/fontconfig/conf.d/x-pluto.conf

Good luck.. wink


Some 'security people are f*cking morons' says Linus Torvalds..

Offline

#4 2022-05-26 13:08:09

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,638

Re: [solved] gtk fonts took terrible

/usr/share/fontconfig/conf.avail/

conf.avail is inert.

# ls /usr/share/fontconfig/conf.default/
# ls /etc/fonts/conf.d/ !! README file

system fonts
# ls -la /etc/fonts/
# ls -la /etc/fonts/conf.d/

And when he looks at that, then what?

# fc-list : file !! List of known Fontconfig fonts.
# fc-list !! List installed fonts.

Do you actually understand how the first command differs from the second (rhetorical question…)

# sudo pacman -S noto-fonts-cjk !! Readable cjk fonts.

And if he doesn't speak any CJK slang? Also this is clearly not the problem?

$ sudo unlink /etc/fonts/conf.d/10-hinting-slight.conf
$ sudo unlink /etc/fonts/conf.d/10-autohint.conf
$ sudo unlink /etc/fonts/conf.d/10-hinting-full.conf

$ ls -la /usr/share/fontconfig/conf.default/
$ sudo unlink /usr/share/fontconfig/conf.default/10-hinting-slight.conf

------------------------
peer user configurations
# cd /etc/fonts/conf.d/
# ln -s /usr/share/fontconfig/conf.avail/x-pluto.conf ~/.confg/fontconfig/conf.d/x-pluto.conf

I've no idea where you copy-pasted this from or what x-pluto.conf is but I rest in the reality that you don't either.
And I can pretty much guarantee that *removing* hinting won't make things better here.

@shoelesshunter, you should never copy and paste stuff from the interwebz into a console w/o understanding it first, but in this specific case you should esp. check geopardo's profile and post history first.

Online

#5 2022-05-26 21:43:11

shoelesshunter
Member
From: USA
Registered: 2014-05-18
Posts: 289

Re: [solved] gtk fonts took terrible

so anti-aliasing is the issue?

I'm more confused than I was.

p.s. I did not do any of what the prior comment suggested.

Offline

#6 2022-05-26 22:41:55

shoelesshunter
Member
From: USA
Registered: 2014-05-18
Posts: 289

Re: [solved] gtk fonts took terrible

update. the issue is only happening with KDE/i3. when I start a straight KDE session, the fonts look fine.

does that indicate anything specific to look at?

Offline

#7 2022-05-27 00:54:10

shoelesshunter
Member
From: USA
Registered: 2014-05-18
Posts: 289

Re: [solved] gtk fonts took terrible

I had configured i3 to load my .Xresources file, and it was the culprit. I removed the reference, and ow fonts are beautiful.

Offline

#8 2022-05-27 05:41:21

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,638

Re: [solved] gtk fonts took terrible

I had configured i3 to load my .Xresources file, and it was the culprit.

Can you please post the file? Does it include sth. like "Xft.antialias: false"?

Online

#9 2022-05-28 09:25:46

geopardo
Member
From: Europe
Registered: 2021-03-23
Posts: 169

Re: [solved] gtk fonts took terrible

shoelesshunter wrote:

so anti-aliasing is the issue?

I'm more confused than I was.

p.s. I did not do any of what the prior comment suggested.

auto-hinting is the issues, anti-aliasing is the related botch, a mess..

this is a linux configuration, i u having a desk who merging this configuration.. try look those dir and files..

enable globaly configurations
# ls /usr/share/fontconfig/conf.avail/
# cd /etc/fonts/conf.d/
# sudo ln -s /usr/share/fontconfig/conf.avail/10-hinting-slight.conf
.Xresources

you have done merging, then replacing font configuration in the desk

Last edited by geopardo (2022-05-28 09:33:56)


Some 'security people are f*cking morons' says Linus Torvalds..

Offline

#10 2022-05-28 18:21:53

geopardo
Member
From: Europe
Registered: 2021-03-23
Posts: 169

Re: [solved] gtk fonts took terrible

shoelesshunter wrote:

I had configured i3 to load my .Xresources file, and it was the culprit. I removed the reference, and ow fonts are beautiful.

If you using KDE plasma, the is an function on options setting..
inside Appareance/Fonts

Pixels RGB for example..
Or Hinting.. moderate, light is enough.. for others fonts resolutions, you found an other way..
But global configurations, merge this options settings of KDE..
This bug on last distro of arch linux and KDE package is solved wink


Some 'security people are f*cking morons' says Linus Torvalds..

Offline

Board footer

Powered by FluxBB