LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Anti-aliasing fonts (http://www.linuxquestions.org/questions/linux-newbie-8/anti-aliasing-fonts-91700/)

Panzerfrost 09-11-2003 02:32 PM

Anti-aliasing fonts
 
Is it possible to anti-alias the fonts of applications such as LinNeighborhood? If so, can anyone let me know how?

Thanks in advance :)

Panzerfrost 09-12-2003 06:02 AM

Anyone? :\

maroonbaboon 09-12-2003 09:13 AM

I don't know the app you are talking about but, but you might need to give more information about your setup. There seem to be several ways to get anti-aliased fonts:

1. It may depend on which version of X-windows you are running. Look at the beginning of the file /var/log/XFree86.0.log if you don't already know. I have 4.3.0, which may still be the latest, which is a good start.

2. Looking further down that log file I see a line

XFree86 Font Renderer : 0.4

which I assume is what is giving me nice fonts.

3. I'm running KDE desktop (v3.1.2) and the control center has an option for turning on AA fonts. I think Gnome must have something similar. That's all I needed to do.

Not so long ago you needed to run something called a font server (I think there is a current one called Xft) which had to be configured into your XFree86. There are various HOWTO's around about how to set these things up.

Sorry to be vague, but this technology seems to be evolving quite quickly on linux.

Panzerfrost 09-12-2003 11:39 AM

If I'm using KDE, is it possible that those aliased fonts are a resulf of a Gnome-related setting?

I have X-Windows 4+, that I do know :) I will look for that line now, thank you.

EDIT: Hmm font renderer is the same. I got nice fonts when using KDE apps, I'll post a screenshot of my bad fonts.

Panzerfrost 09-12-2003 12:08 PM

Here's the screenshot, sorry it took me a while:

http://img.tapuz.co.il/forums/20385721.png

Refering to the LinNeighborhood application.

Same aliased fonts appear in apps such as VMWare and Gimp if that's any help.

maroonbaboon 09-13-2003 01:51 AM

Now you point it out, I see I also have non-AA fonts in non-KDE apps. Searching around a bit, I found this

http://gnomesupport.org/wiki/index.p...roubleshooting

(and further links in there) and

http://thesapphirecat.iwarp.com/pres...ogram/xft.html

What I understand is that even if X can provide AA fonts, the individual apps or toolkits need to be configured to use them. The KDE control centre does this for anything based on the Qt toolkit, while for Gnome apps what you need depends on whether you are using gtk2 or not.

pablob 09-13-2003 10:22 AM

What you'll need, apart of what these guys told you is to get LinNeighborhood sources and try to compile them "against" the library which provides the antialiasing. (something like:
"configure --with-xft "or whatever).

Not an easy task, I advance you.
If the program is not compiled to use freetype fonts, you'll never get them whatever configuration tool you search for.


All times are GMT -5. The time now is 08:52 PM.