Discussion:
accessing fonts for emacs (Inconsolata)
(too old to reply)
Harry Putnam
2011-10-02 01:00:01 UTC
Permalink
I was convinced by arguments seen thru google, that I should install
`inconsolata' fonts... did so but now emacs knows nothing about it.

Googling on that subject has turned up a number of hits but so far it
all seems somewhat dated. Discussing the use of xorg.conf to point to
fonts and such.

Can anyone steer me toward more recent information on how to allow
emacs to access the true type fonts.

I have both xft and xftt running. Anyone know the server address for
xftt?

xlsfonts does not see inconsolata either.

So far all I've done regarding installing the fonts is running
`aptitude install ttf-inconsolata', maybe there is more I am supposed
to do?

Hopefully there is somewhere, current directions or tips.
--
To UNSUBSCRIBE, email to debian-user-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org
Archive: http://lists.debian.org/***@newsguy.com
Camaleón
2011-10-02 11:10:02 UTC
Permalink
Post by Harry Putnam
I was convinced by arguments seen thru google, that I should install
`inconsolata' fonts... did so but now emacs knows nothing about it.
What does that font provide to got you convinced? :-)

I use "Courier-New" for monospaced fonts and also like "Liberation-Mono".
Post by Harry Putnam
Googling on that subject has turned up a number of hits but so far it
all seems somewhat dated. Discussing the use of xorg.conf to point to
fonts and such.
Can anyone steer me toward more recent information on how to allow emacs
to access the true type fonts.
I'm not an Emacs user but until someone in the know gives you more
advice, I would start by looking into Emacs wiki:

http://www.emacswiki.org/emacs/XftGnuEmacs
Post by Harry Putnam
I have both xft and xftt running. Anyone know the server address for
xftt?
xlsfonts does not see inconsolata either.
(...)

Hum... you mean the font is not available system wide? Is the font listed
within another app, i.e., gedit, LibreOffice Writer...?

Greetings,
--
Camaleón
--
To UNSUBSCRIBE, email to debian-user-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org
Archive: http://lists.debian.org/***@gmail.com
Wim M
2011-10-02 13:30:02 UTC
Permalink
Post by Harry Putnam
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

to update your X config.
--
Wim.
--
To UNSUBSCRIBE, email to debian-user-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org
Archive: http://lists.debian.org/4e886052$0$7623$***@newsspool1.arcor-online.net
Harry Putnam
2011-10-04 01:00:02 UTC
Permalink
Post by Wim M
Post by Harry Putnam
Can anyone steer me toward more recent information on how to allow
emacs to access the true type fonts.
Hi,
emacs.FontBackend: xft
Emacs.font: Inconsolata-12
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
--
To UNSUBSCRIBE, email to debian-user-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org
Archive: http://lists.debian.org/***@newsguy.com
Henrique de Moraes Holschuh
2011-10-04 03:10:02 UTC
Permalink
Post by Harry Putnam
ls /usr/share/fonts/truetype/ttf-inconsolata
Inconsolata.otf
It is an OpenType PS font, not a TrueType font or an OpenType TT font.

But it really should work.
--
"One disk to rule them all, One disk to find them. One disk to bring
them all and in the darkness grind them. In the Land of Redmond
where the shadows lie." -- The Silicon Valley Tarot
Henrique Holschuh
--
To UNSUBSCRIBE, email to debian-user-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org
Archive: http://lists.debian.org/***@khazad-dum.debian.net
Loading...