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

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

Re: Help in querying xlsfonts for a particular font from elisp


From: Peter Dyballa
Subject: Re: Help in querying xlsfonts for a particular font from elisp
Date: Fri, 25 Aug 2006 20:37:33 +0200


Am 25.08.2006 um 17:41 schrieb Andrew M. Scott:

I really like the "vera sans mono" font, but it's only available on
some of the platforms I use.

The fonts are free. You can easily install them everywhere. If you can't because of missing privileges, you could think of setting up a font server on your local machine (usually port 7100). This is just a piece of software and some configuration. Since the ssh tunnels are open to X11 protocol, your remote X clients could use the fonts from your font server. When it's running it does not consume much resources. The fonts are a few 10 kB, and your font server does not need to serve all X11 fonts, just a chosen few.

Instead of complicated Elisp code you could also set up ~/.Xdefaults files on your remote computers. Emacs*font and other font resources can also name a fontset (Emacs*fontSet, Emacs.Fontset-0), one of a few you have set up in the .emacs files.

When you know exactly what each machine offers, you could use Emacs invocations (from shell scripts for example) where either X resources or fonts or fontsets to use are specified.

--
Greetings

  Pete

There is no national science just as there is no national multiplication table; what is national is no longer science.
                                      -- Anton Checov






reply via email to

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