stumpwm-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[STUMP] Antialiased fonts


From: Michael Filonenko
Subject: [STUMP] Antialiased fonts
Date: Wed, 10 Oct 2012 11:10:27 +0400

Hi all.

I added antialiased fonts rendering to stumwpm. It is pure common lisp
solution and it requires zpb-ttf and cl-vectors.
Algorithm is not so efficient as possible, but stumpwm has no big
amount of strings to render.

You can download release branch from here:
https://github.com/filonenko-mikhail/stumpwm

Do font cache.

  sbcl
  (ql:quickload :clx-truetype)
  (xft:cache-fonts)

Set font in .stumpwmrc

  (set-font (make-instance 'xft:font :family "Consolas" :subfamily
"Regular" :size 12))

Built-in x11 fonts are supported too.

  (set-font "-*-terminus-medium-r-normal-*-16-*-*-*-*-*-iso10646-1")

Hope it is usefull.




-- 
With best regards, Michael Filonenko



reply via email to

[Prev in Thread] Current Thread [Next in Thread]