[Xmonad] Issue 44 in xmonad: Support for i18n in window titles

codesite-noreply at google.com codesite-noreply at google.com
Sun Aug 19 09:53:47 EDT 2007


Issue 44: Support for i18n in window titles
http://code.google.com/p/xmonad/issues/detail?id=44

New issue report by m... at jansb.org:
It would be nice to see xmonad and its extensions get better i18n
support, in particular for printing of window titles using the
NamedWindow, Decoration and Tabbed from XMonadContrib.

I have a number of patches for X11-extras and XMonadContrib that
constitute a step in that direction. These all assume that setlocale
has been called previously, see issue 43.

The patch in getname.patch rewrites getname using locale-aware
functions.

x11-extras-patches.patch contains one patch to add wide character
drawing operations using FontSets, and one patch to add a function to
extract the foreground pixel from a graphic context.

font.patch adds the module XMonadContrib.Font which aims to provide an
abstract interface to string drawing functions. The implementation
uses wide character string drawing functions by default, but can be
configured to use xft, in which case the bindings at
http://www.mdstud.chalmers.se/~jansborg/xft are needed.

changetofont.patch changes Decoration and Tabbed to use the Font
module. WARNING: this can be extremely slow unless xft is used, due to
decoration reopening the font very often. Using the fontset
implementation this is slow to the point of being useless since
XCreateFontSet can be really slow.


Attachments:
	getname.patch  40.6 KB 
	x11-extra-patches.patch  6.8 KB 
	font.patch  43.7 KB 
	changetofont.patch  44.7 KB 


Issue attributes:
	Status: New
	Owner: ----
	Labels: Type-Defect Priority-Medium

-- 
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings


More information about the Xmonad mailing list