You are not logged in.

#1 2010-04-21 15:50:08

andre.ramaciotti
Member
From: Brazil
Registered: 2007-04-06
Posts: 649

Emacs and Inconsolata-g

Hi all,

I've just installed Inconsolata-g, but I can't get Emacs to recognize it. The relevant part of my .emacs is:

(setq default-frame-alist '((font-backend . "xft")
                (font . "Inconsolata\-g-9") 
                (cursor-color . "white")
                            (tool-bar-lines . 0)
                            (vertical-scroll-bars . nil)
                            (alpha . 85)))

I've already tried with two backslashes, none, four...

TIA


(lambda ())

Offline

#2 2010-04-21 22:13:57

chpln
Member
From: Australia
Registered: 2009-09-17
Posts: 361

Re: Emacs and Inconsolata-g

The above works fine for me.  Depending on how Emacs is started, you may also need to include

(set-frame-font "Inconsolata-g-10" nil)

to have the font changed for the initial frame (properties for subsequent frames are defined by default-frame-alist).  Also confirm that the path to inconsolata-g is in Xorg's FontPath and that the font cache has been rebuilt.

Offline

Board footer

Powered by FluxBB