how to use ttf fonts in xemacs 21.5.28

Uwe Brauer oub at mat.ucm.es
Sat Dec 27 11:55:34 EST 2008


>>>>> "Vladimir" == Vladimir G Ivanovic <vgivanovic at comcast.net> writes:

   > 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.


Thanks but this did not work out for me completely. For reasons I don't
understand only the geometry part of the .Xdefaults was used while the
fonts were replaced by *fixed*, however I could change to the DejaVu
fonst you use, by 

Options-->font-->DejaVu

*however* when I select purisa, then again xemacs uses fixed instead of
purisa. 

Purisa _is_ installed, even it is shown by xfontsel.

Can you please try to use Purisa and tell me the result?


BTW what shall I do with the ttf fonts, which are installed but not
displayed by xfontsel????


Thanks 

Uwe Brauer 




More information about the XEmacs-Beta mailing list