Thursday, 16 February 2006

Beautiful XEmacs

XEmacs becomes beautiful. Courtesy of Stephen J. Turnbull, we enjoy beautiful subpixel rendered fonts in XEmacs. 21.5.24 is the first release after the sjt-xft branch was merged MAIN.

I suggest to read the release notes to get an idea how to enable Xft. It's not on per default. You can also cut&paste my configure "line":

./configure \
'--with-cflags=-march=i686 -fno-strict-aliasing -O2' \
'--disable-error-checking' '--with-png' '--disable-debug' \
'--with-jpeg' '--with-tiff' '--without-gnome' '--with-xpm' \
'--with-xft=emacs,gauges,menubars' '--with-zlib' '--with-xface' \
'--with-athena=3d' '--enable-pdump' '--enable-dump-in-exec' \
'--enable-bignum=gmp' '--enable-menubars=lucid' \
'--enable-scrollbars=lucid' '--enable-dialogs=athena' \
'--enable-widgets=athena' '--without-gtk' '--enable-mule'

To get the same look as on the screenshot, drop that into your .xresources (and make sure they are "xrdb -merge"-ed).

XEmacs.modeline.attributeFont: Bitstream Charter-12
XEmacs.modeline.attributeBackground: gray
XEmacs.default.attributeFont: Bitstream Vera Sans Mono-12
XEmacs.default.attributeBackground: white

No comments: