help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Nice fonts for emacs 22 GTK on Linux ?


From: Peter Dyballa
Subject: Re: Nice fonts for emacs 22 GTK on Linux ?
Date: Thu, 7 Feb 2008 00:45:01 +0100


Am 06.02.2008 um 23:50 schrieb Bill O'Connor:

cvs -z3 -d:pserver:address@hidden:/sources/emacs co -r emacs-unicode-2 emacs


This version was latest known as GNU Emacs 23.0.60 – the "other" GNU Emacs, version 23.0.50, has been upgraded on the weekend to version 23.0.60, so there is, hopefully, only one available via CVS.

You have three choices to run with font-backend active (you can also invoke GNU Emacs with --disable-font-backend), with any (*one*) of these three X resources:

        Emacs.FontBackend:              x
        Emacs.FontBackend:              xft
        Emacs.FontBackend:              ftx

First one does nothing (for me, maybe more in X11R7.x), second one does font-aliasing via libXft, third one does this via libfreetype2 and when compiled *without* libXft.

The fonts pop-up menu does not seem to change. It is set somewhere in ELisp, but it can be extended or substituted by own code. When using the font-backend you have to make the libfontconfig(2) system (fc- list, fc-cache) working. This means that you have to put all directory names with fonts into /etc/fonts/fonts.conf or such (check with man), and after this you should launch fc-cache, maybe with -v (erbose), to create the font hash files in the system.

It seems that the common X Logical Font Description format is accepted as input, either from the command line or from an X resource. From this some matching font is looked up.

--
Greetings

  Pete

When in doubt, use brute force.
                                – Ken Thompson







reply via email to

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