[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: accessing fonts for emacs (Inconsolata)



Wim M <ichels.moabit@gmail.com> writes:

> On 2011-10-02, Harry Putnam <reader@newsguy.com> wrote:
>> Can anyone steer me toward more recent information on how to allow
>> emacs to access the true type fonts.
> Hi,
> in your .Xresources file put the following:
>
> emacs.FontBackend:   xft
> Emacs.font:      Inconsolata-12 
>
> and then call:
>
> xrdb -merge .Xresources 

Thanks... I had forgotten how to do that.  
However, in this case... It did no good.  Still listing all fonts by
calling M-x : set-default-font <spc><spc> [...] <spc>

That listing produced does not include any inconsolata, and in fact no
ttf at all.

Something odd, I noticed too.  In the fonts directory at
/usr/share/fonts/truetype... I see:

  freefont   ttf-dejavu      ttf-liberation ttf-sil-gentium
  openoffice ttf-inconsolata ttf-lyx        ttf-sil-gentium-basic

All the ttf font files end in *.ttf.  For example the lyx set:

  ls /usr/share/fonts/truetype/ttf-lyx

  cmex10.ttf  cmr10.ttf   esint10.ttf  msam10.ttf  rsfs10.ttf
  cmmi10.ttf  cmsy10.ttf  eufm10.ttf   msbm10.ttf  wasy10.ttf

But inconsolata is different and there is only one:

  ls /usr/share/fonts/truetype/ttf-inconsolata

  Inconsolata.otf


Reply to: