Sunday, December 06, 2009

emacs font setup.

useful link for emacs setup
http://www.cublog.cn/u/17248/showart_189571.html

another link


http://www.linuxquestions.org/questions/linux-software-2/emacs-changing-default-font-size-and-font-type-489000/

-MAKER-FAMILY-WEIGHT-SLANT-WIDTHTYPE-STYLE-PIXELS-HEIGHT-HORIZ-VERT-SPACING-WIDTH-CHARSET

simply put in .emacs file:

(set-default-font "-adobe-courier-medium-r-normal--18-180-75-75-m-110-iso8859-1")


with the grep arguments to get different choices.
xlsfonts | grep courier-medium-r | grep .-18- | grep 59-1$ xfd -fn $(xlsfonts | grep courier-medium-r | grep .-18- | grep 59-1$)

You can run these commands (at least on Linux, probably on FreeBSD too) to see what fonts are on your system:
Code:
xlsfonts            ## This displays system fonts xfd -fn fontname    ## This pops up a window displaying it

No comments: