TWM: truetype support

Eeri Kask Eeri.Kask at
Thu Nov 8 05:11:35 PST 2007

Mike Russo wrote:
> Hey dude - thanks for spending some time on twm and making it look
> good. Any chance you might upload a gzipped Linux/x86 binary?  :)

Hey I have a better idea.  You have wget, gcc and X11 headers installed?

(1) Then run this script:


mkdir twm.tweaked
cd twm.tweaked


tar -xzf twm-1.0.3.tar.gz
tar -xf  twm-1.0.3-diff1-7.tar

cd twm-1.0.3
CFLAGS="-O2 -DTWM_USE_OPACITY -DTWM_USE_XFT -I/usr/include/freetype2" \
./configure  --prefix=/usr/local

cd src
tar -xzf ../../twm-1.0.3-diff1.MyFont_ChangeGC.tgz
tar -xzf ../../twm-1.0.3-diff2.TWM_USE_XFT.tgz
tar -xzf ../../twm-1.0.3-diff3.Spacing.tgz
tar -xzf ../../twm-1.0.3-diff4.TWM_USE_OPACITY.tgz
tar -xzf ../../twm-1.0.3-diff5.Fixes.tgz
tar -xzf ../../twm-1.0.3-diff6.Improvements.tgz
tar -xzf ../../twm-1.0.3-diff7.Appearance.tgz


cp twm ../../
cd ../../
rm -rf twm-1.0.3
rm twm-1.0.3-diff[1-7].*.tgz


... and you'll have twm with XFT Linux/x86 binary in twm.tweaked/.

(2) xcompmgr is at

(3) put

Section "Extensions"
  Option "RENDER" "Enable"
  Option "Composite" "Enable"
  Option "DAMAGE" "Enable"
  Option "XFIXES" "Enable"

into xorg.conf,

(4) run "xcompmgr -c -o 0.5 -r 6 -t -6 -l -9 &" prior to "exec twm" in

That's it.  :-)


    Eeri Kask

More information about the xorg mailing list