Setting font size in emacs
dan at speedy.palette.com
dan at speedy.palette.com
Thu Sep 1 21:19:47 EDT 1994
Hello Vin,
(x-set-font "fixed") in you .emacs file will work or
C-M-x (x-set-font "fixed") from within emacs. But that`s only
good for the 18.x series. The shortcut is to use
$ emacs -nw # which will run within the xterm, but is slower than direct X.
If you are running a 1.0 Linux Kernal, then you a probably running
19.x series. 19 is much more intelligent with fonts. I don`t know how
to do it yet but
C-M-x (x-list-fonts "*")
WOW!
You have to use a mono-spaced or fixed-width font.
$ /usr/bin/X11/xlsfonts '*-m-*'
$ /usr/bin/X11/xlsfonts '*-c-*'
will give them all to you! Or use /usr/bin/X11/xfontsel to get
interactive feedback of the font selected.
A sure fire way of changing the font for all apps that use Xt is
to create a
$ cat > ~/.Xdefaults <<%
*.font: -bitstream-terminal-medium-r-normal--18-140-100-100-c-110-iso8859-1
%
This will work for emacs 18 and emacs 19.
Don`t mean to jam that latin1 character set at you, but that is what
I use!
Dan Demus
(603) 886-1230 x133
(617) 327-2641
dan at palette.com
More information about the Discuss
mailing list