[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: antialiased fonts

From: Peter Dyballa
Subject: Re: antialiased fonts
Date: Tue, 24 May 2005 15:55:33 +0200

Am 24.05.2005 um 12:41 schrieb Rob Wilco:

Questions :

Is it true?

I don't get it, why gnome-terminal can do it and emacs can't?

GNOME and GTK have a mechanism that reads a configuration file that names all fonts directories to be used. Then, when a GTK client is launched, another GTK mechanism checks whether any of these fonts has changed. If a change has happened, GTK spends the next few minutes to create cache files, fonts.cache-1 and .fonts.cache-1 in your home directory.

GNU Emacs relies on your X server. If it's font path is incorrect the X server won't be able to serve the same fonts as GTK can do. You can check the X server's setting with 'xset -q'. If you changes needed you can do them in your .xinitrc file, or what ever launches X for you at login. The syntax is simple:

xset fp+ /sw/share/ghostscript/fonts/,/sw/lib/X11/fonts/applettf/,/sw/lib/X11/ fonts/msttf/,/sw/lib/X11/fonts/efont-unicode/,/sw/lib/X11/fonts/intl/ TrueType/,/sw/lib/X11/fonts/intl/Type1/,/sw/lib/X11/fonts/intl/,/usr/ X11R6/lib/X11/fonts/bidi/,/usr/X11R6/lib/X11/fonts/Indian/,/sw/lib/X11/ fonts/efont-unicode/
        xset fp rehash

Who antialiases font?

The X server.

What does it takes to make a gtk-aware emacs à la gvim?

Get it from CVS, configure it --with-gtk, compile and install it yourself. (Check always ./configure --help!)

What process are involved xfs, defoma, Xorg/XFree86?

I think the development packages. defoma is a bit complicated to use, xfs is useful when you have one server that has all your fonts that its clients would like to use. This goes:

        xset fp+ inet/

In /usr/X11R6/bin you'll find some *-config executables. /etc/X11 will have configuration files.



UNIX is user friendly, it's just picky about who its friends are.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]