Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


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

Setting font size in emacs




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




BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org