You are not logged in.
There's no problem with other applications and there was no problem with my gtk applications.
But the anti aliased fonts in the gtk apps disappeared yesterday and I hadn't edited any configuragion files about fonts.
So what is wrong?
Offline
And there's another problem in the gtk applications.
Sometimes some characters disappear and if I select them,they appear again.
Offline
Try GTK_XFT=1 in your .xinitrc
Offline
Thanks a lot,but that doesn't work.
The gtk apps do use xft fonts,but without anti aliasing.
Offline
cairo sometimes ignores settings of antialias in fonts.conf and local.conf.
I.HATE.FONTS.ON.LINUX
KISS = "It can scarcely be denied that the supreme goal of all theory is to make the irreducible basic elements as simple and as few as possible without having to surrender the adequate representation of a single datum of experience." - Albert Einstein
Offline
It is Cairo. It's being worked on. Revert back to the previous version and your fonts will be fine.
Offline
Look in ~/.fonts.conf and disable all settings that set an exclude range for anti-aliasing on font sizes. Also disable those things in /etc/fonts/* if you made changes to that.
Cairo has a bug and thinks all fonts are that size, so it disables AA completely. The bug with only the first word appearing was introduced with cairo 1.0.4, which occurs only with unscalable fonts. It looks like cairo 1.2.0 makes unscalable bitmaps from fonts when disabling anti-aliasing, which triggers the bug already present in 1.0.4.
Two critical bugs for these are opened at freedesktop.org, there's not much known about fixes or causes for this, they're still investigating. The problem does not appear when using EXA, so it wasn't noticed on time by the developers, as they use EXA.
Offline
Thanks to all you guys.The problem solved after I deleted the directory ~/.kde.
I wonder what kde setting made the gtk apps lose anti aliased fonts.
Offline
Thanks to all you guys.The problem solved after I deleted the directory ~/.kde.
I wonder what kde setting made the gtk apps lose anti aliased fonts.
Perhaps you had gtk-qt-engine installed and some special font settings there?
Offline
I'm afraid not.
I installed gtk-qt-engine when I was using debian a long time ago and that sucks.Since then I've never had gtk-qt-engine again.
Offline
IIRC the latest version has had some performance improvements... Not using it now though, so I don't really know how well it works.
Offline
Look in ~/.fonts.conf and disable all settings that set an exclude range for anti-aliasing on font sizes. Also disable those things in /etc/fonts/* if you made changes to that.
Cairo has a bug and thinks all fonts are that size, so it disables AA completely. The bug with only the first word appearing was introduced with cairo 1.0.4, which occurs only with unscalable fonts. It looks like cairo 1.2.0 makes unscalable bitmaps from fonts when disabling anti-aliasing, which triggers the bug already present in 1.0.4.
Two critical bugs for these are opened at freedesktop.org, there's not much known about fixes or causes for this, they're still investigating. The problem does not appear when using EXA, so it wasn't noticed on time by the developers, as they use EXA.
Has this bug been fixed by the Cairo developers? Also, I tried using EXA (putting Option "AccelMethod" "exa" in my card's device section in xorg.conf, I have a Radeon 9700 card using the oss driver), but that didn't resolve the issue either. Only programs using libxft respect the antialiasing settings in the .fonts.conf file
Regards,
Simon
Offline
I'm pretty sure it's fixed in 1.2.x. What version are you using?
Offline
I'm using the one in current, 1.2.4 I believe it is
Offline