Re: Linux/Ubuntu: DejaVu Sans Mono GNU emacs/Xemacs

Raymond Toy <[email protected]> Sun, 30 Aug 2015 21:28:42 -0700
Newsgroups gmane.emacs.xemacs.beta
Message-ID <[email protected]>
>>>>> "Uwe" == Uwe Brauer <[email protected]> writes:

    Uwe> Hello
    Uwe> In GNU emacs I can use the following setting


    Uwe> (custom-set-faces
    Uwe>  '(default ((t (:family "DejaVu Sans Mono" :foundry "unknown" :slant
    Uwe>  normal :weight normal :height 143 :width normal)))))

    Uwe> And Emacs uses the DejaVu font which is installed in my Ubuntu
    Uwe> distribution. I can also use the font in a xterm.

    Uwe> However when I run xfontsel I do not find this font and therefore do not
    Uwe> know how to use in it Xemacs.

    Uwe> Did anybody in a similar environment get this font to work in Xemacs?

This works for me on my OSX system to use this font:
 
(set-face-font 'default "Bitstream Vera Sans Mono-10")

I assume you could substitute "DevaVu Sans Mono-<size>" instead.

But as Stephen says, you need xemacs with xft support compiled in.

--
Ray