You are not logged in.

#1 2006-07-18 07:24:40

mingfal
Member
Registered: 2005-11-07
Posts: 32

No anti alias in gtk applications [solved]

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

#2 2006-07-18 07:56:11

mingfal
Member
Registered: 2005-11-07
Posts: 32

Re: No anti alias in gtk applications [solved]

And there's another problem in the gtk applications.

Sometimes some characters disappear and if I select them,they appear again.

Offline

#3 2006-07-18 08:23:25

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,439
Website

Re: No anti alias in gtk applications [solved]

Try GTK_XFT=1 in your .xinitrc

Offline

#4 2006-07-18 14:58:23

mingfal
Member
Registered: 2005-11-07
Posts: 32

Re: No anti alias in gtk applications [solved]

Thanks a lot,but that doesn't work.
The gtk apps do use xft fonts,but without anti aliasing.

Offline

#5 2006-07-20 00:18:39

test1000
Member
Registered: 2005-04-03
Posts: 834

Re: No anti alias in gtk applications [solved]

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

#6 2006-07-20 00:44:34

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: No anti alias in gtk applications [solved]

It is Cairo. It's being worked on. Revert back to the previous version and your fonts will be fine.

Offline

#7 2006-07-20 06:52:25

JGC
Developer
Registered: 2003-12-03
Posts: 1,664

Re: No anti alias in gtk applications [solved]

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

#8 2006-07-21 05:25:32

mingfal
Member
Registered: 2005-11-07
Posts: 32

Re: No anti alias in gtk applications [solved]

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

#9 2006-07-21 14:42:46

jaboua
Member
Registered: 2005-11-05
Posts: 634

Re: No anti alias in gtk applications [solved]

mingfal wrote:

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

#10 2006-07-26 17:53:41

mingfal
Member
Registered: 2005-11-07
Posts: 32

Re: No anti alias in gtk applications [solved]

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. tongue

Offline

#11 2006-07-26 20:06:26

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: No anti alias in gtk applications [solved]

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

#12 2006-10-02 22:31:42

hjorthboggild
Member
From: Denmark
Registered: 2005-11-05
Posts: 89

Re: No anti alias in gtk applications [solved]

JGC wrote:

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

#13 2006-10-03 00:41:37

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: No anti alias in gtk applications [solved]

I'm pretty sure it's fixed in 1.2.x. What version are you using?

Offline

#14 2006-10-03 09:53:25

hjorthboggild
Member
From: Denmark
Registered: 2005-11-05
Posts: 89

Re: No anti alias in gtk applications [solved]

I'm using the one in current, 1.2.4 I believe it is

Offline

Board footer

Powered by FluxBB