Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
More antialiasing problems
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Valen
Apprentice
Apprentice


Joined: 18 Aug 2002
Posts: 197
Location: Toronto, Ontario, Canada

PostPosted: Tue Aug 20, 2002 2:09 am    Post subject: More antialiasing problems Reply with quote

I've tried going through the steps to enable AA but I don't think it has worked, and I am certain that subpixel AA has not.
A checklist of what I have done:

added directories to XftConfig and XF86Config
loading "freetype" and "type1" modules

I didn't see any change

I added 'match edit rgba = rgb;' to XftConfig ... no change.

I am using xfontsel to judge whether or not there is a change in the font display and some of them (true type) look jagged.

btw, if someone can at least help me get gVim looking pretty I can tolerate the rest.

Thanks
Back to top
View user's profile Send private message
AutoBot
l33t
l33t


Joined: 22 Apr 2002
Posts: 968
Location: Usually Out

PostPosted: Tue Aug 20, 2002 5:27 pm    Post subject: Reply with quote

Try launching xterm in the following mannor to see if aa is indeed working:

Code:

xterm -fa "Andale Mono" -fs 8 -fg white -bg black

_________________
This message self destructed a long time ago.
Back to top
View user's profile Send private message
Valen
Apprentice
Apprentice


Joined: 18 Aug 2002
Posts: 197
Location: Toronto, Ontario, Canada

PostPosted: Tue Aug 20, 2002 11:26 pm    Post subject: Reply with quote

You were right, xfontsel does not show any antialiasing but I've never seen a better looking xterm.

ATerm, however, does not antialias and neither does gVim, is it possible to get them to do this?

Thanks for the help.
Back to top
View user's profile Send private message
puddpunk
l33t
l33t


Joined: 20 Jul 2002
Posts: 681
Location: New Zealand

PostPosted: Wed Aug 21, 2002 5:58 am    Post subject: Reply with quote

aterm doesnt support antialiased fonts.

And im pretty sure i've heard somewhere that GTk apps arnt that good at it either.

You might have to have a google about it, see what you can dig up.
Back to top
View user's profile Send private message
Vann
Guru
Guru


Joined: 04 Aug 2002
Posts: 357

PostPosted: Wed Aug 21, 2002 6:04 am    Post subject: GTK apps Reply with quote

I'm pretty sure GTK 1 apps don't have any ability to do AA fonts outside of the gdkxft hack. GTK 2, however, fully supports AA.
Back to top
View user's profile Send private message
AutoBot
l33t
l33t


Joined: 22 Apr 2002
Posts: 968
Location: Usually Out

PostPosted: Wed Aug 21, 2002 6:05 am    Post subject: Reply with quote

There is a hack that allows gtk+ 1.x applications to use anti-aliasing.
_________________
This message self destructed a long time ago.
Back to top
View user's profile Send private message
AutoBot
l33t
l33t


Joined: 22 Apr 2002
Posts: 968
Location: Usually Out

PostPosted: Wed Aug 21, 2002 6:06 am    Post subject: Re: GTK apps Reply with quote

Vann wrote:
I'm pretty sure GTK 1 apps don't have any ability to do AA fonts outside of the gdkxft hack. GTK 2, however, fully supports AA.


Beat me by a minute :lol:
_________________
This message self destructed a long time ago.
Back to top
View user's profile Send private message
Valen
Apprentice
Apprentice


Joined: 18 Aug 2002
Posts: 197
Location: Toronto, Ontario, Canada

PostPosted: Wed Aug 21, 2002 7:36 am    Post subject: Reply with quote

The googling I have does has led me to gdkxft which I have installed ... kind of. I copied this .gtkrc file into my home directory like it requested, after the emerge it said my XftConfig file was ok, but it doesn't do anything. I haven't been able to find any sort of guide for gdkxft online either. The readme does have some useful suggestions for troubleshooting and I am going through that at the moment. I would be nice to know if I was working towards an unattainable goal: does anyone have an antialiased gVim running?

And thanks again for the help.
Back to top
View user's profile Send private message
AutoBot
l33t
l33t


Joined: 22 Apr 2002
Posts: 968
Location: Usually Out

PostPosted: Wed Aug 21, 2002 7:42 am    Post subject: Reply with quote

I used it some time ago on a debian box and it worked fine, never tried it with gvim but I can only say that it would have to work being that it is a gtk+ application.
_________________
This message self destructed a long time ago.
Back to top
View user's profile Send private message
Valen
Apprentice
Apprentice


Joined: 18 Aug 2002
Posts: 197
Location: Toronto, Ontario, Canada

PostPosted: Thu Aug 22, 2002 5:24 am    Post subject: Reply with quote

Ok, just for future searchers looking for answers:
Near the end of the readme it suggests the possibility that the LD_PRELOAD environment variable is being cleared, this was the problem in my case. Launching X with 'LD_PRELOAD=/usr/lib/libgdkxft.so startx' solved this problem.

My gVim looks quite good now, thanks everyone.
Back to top
View user's profile Send private message
netghost
n00b
n00b


Joined: 04 Jul 2002
Posts: 12

PostPosted: Thu Aug 22, 2002 10:45 pm    Post subject: Reply with quote

Valen wrote:
Ok, just for future searchers looking for answers:
Near the end of the readme it suggests the possibility that the LD_PRELOAD environment variable is being cleared, this was the problem in my case. Launching X with 'LD_PRELOAD=/usr/lib/libgdkxft.so startx' solved this problem.

My gVim looks quite good now, thanks everyone.


Awesome, I haven't been able to get any antialiasing :( Hopefully this will fix it.
Back to top
View user's profile Send private message
Valen
Apprentice
Apprentice


Joined: 18 Aug 2002
Posts: 197
Location: Toronto, Ontario, Canada

PostPosted: Fri Aug 23, 2002 4:53 am    Post subject: Reply with quote

Just another thing to remember: edit your gdkxft.conf file. The rules are (and I am working off the top of my head here) !<font> means no antialiasing for that font, and <font> enables antialiasing for that font. You can use wildcards.

Good luck

[edit: corrected file to gdkxft.conf]
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum