I've been using TrueType fonts in XEmacs for ages.
I build with
./configure '--with-gcc' '--with-cflags=-Wextra' \
'--with-cflags-debugging=-ggdb' '--with-xft=all'
'--with-wmcommand' \
'--with-mule=no' '--with-memory-usage-stats' \
'--with-error-checking=none'
I use
(custom-set-faces
'(muse-header-1 ((t (:size "13pt" :bold t))))
'(muse-header-2 ((t (:size "12pt" :bold t))))
'(muse-header-3 ((t (:size "11pt" :bold t))))
'(muse-header-4 ((t (:size "10pt" :bold t)))))
in ~/.xemacs/custom.el and
XEmacs*EmacsFrame.geometry: 123x63
XEmacs.bold-italic.attributeFont: DejaVu Sans Mono:style=Bold \
Oblique:size=10
XEmacs.bold.attributeFont: DejaVu Sans \ Mono:style=Bold:size=10
XEmacs.default.attributeBackground: white
XEmacs.default.attributeFont: DejaVu Sans \ Mono:style=Book:size=10
XEmacs.default.attributeForeground: black
XEmacs.italic.attributeFont: DejaVu Sans \
Mono:style=Oblique:size=10
XEmacs*xftFont: DejaVu Sans:style=Book:size=10
XEmacs.modeline.attributeFont: DejaVu Sans:style=Book:size=10
XEmacs.modeline.attributeBackground: white
in ~/.Xdefaults.
--- Vladimir
on 12/23/2008 09:16 AM Uwe Brauer said the following:
Hello
Now the compilation with
./configure --with-mule --with-xim --with-xfs=emacs --with-xim
worked but I can't use True Type fonts.
- I see that there are 2 types of true fonts, the ones which
xfontsel finds like purisa
- and others I installed later in /usr/share/fonts
with
sudo cp /home/user/Desktop/*.ttf /usr/share/fonts/myfonts/
and refresh your font cache like this:
sudo fc-cache -f
The first ones are listed in options-->fonts (in both I must say 21.4.21
and 21.5.28) however in both cases Purisa is not highlighted and cannot
be selected this way,
Also
(set-face-font 'default "-*-purisa-*-*-*-*-*-*-*-*-*-*")
Does not work. So I am puzzled, I don't know who, mentioned that he uses
ttf fonts for a while, how?
Thanks and regards
Uwe Brauer
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta
--
Vladimir G. Ivanovic
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta