I downloaded the DejaVu font, and installing the ttf files to c:\windows\font enabled me to use them in emEditor.

How can I make vim/emacs to use this font as default?

link|improve this question

74% accept rate
feedback

1 Answer

up vote 1 down vote accepted

VIM

From http://www.netlinxinc.com/index.php?option=com_content&task=view&id=45&Itemid=2:

The Windows version of VIM that I am using is the Win-32 console and OLE GVIM flavor. Assuming you took the defaults during the installation of the program, you will find the VIM init file in the %DRIVE%\Program Files\Vim called _vimrc. Edit this file and add a line that looks like the following:

set guifont=Lucida_Console:h10

This will use the Lucida Console font in size 10 regular. You can use other fonts, sizes and settings. The syntax is basically:

set guifont=font-family:size:style

Emacs

Set

(set-default-font "XLFD")

in your .emacs file where XLFD is the X Logical Font Description. How to get that is described here: http://www.gnu.org/software/emacs/windows/Fonts-and-text-translation.html#Fonts-and-text-translation

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.