I recently installed Arch Linux on my new laptop. Shortly, afterwards, I also installed the X Window System and Emacs 24. I like the DejaVu Sans Mono font so I added it to my
URxvt.font: xft:DejaVu Sans Mono:size=12 emacs.font: xft:DejaVu Sans Mono:size=12
The font works perfectly for my terminal emulator URxvt, however when I start emacs this message popped up:
$ emacs Font `xft:DejaVu Sans Mono:size=12` is not defined
Apparently Emacs was built with xft, as shown below:
$ ldd `which emacs` | grep libXft libXft.so.2 => /usr/lib/libXft.so.2 (0x00007f8498c37000)
How can the font not be defined in emacs?