On Tue, Dec 05, 2006 at 11:28:17AM +0100, Anselm R. Garbe wrote: > On Tue, Dec 05, 2006 at 11:24:26AM +0100, Diego Biurrun wrote: > > On Tue, Dec 05, 2006 at 08:47:50AM +0100, Anselm R. Garbe wrote: > > > On Tue, Dec 05, 2006 at 08:13:33AM +0100, Sander van Dijk wrote: > > > > Not sure about the details, but if I'm not mistaken this has something > > > > to do with font 'subsets' (that's probably not the right word). From > > > > what I understand, there are some character subsets defined for utf-8, > > > > and a font may support some, but not all of them. I believe xterm just > > > > uses whatever the font provides, ignoring what it doesn't provide, > > > > while dwm discards the font's abilities entirely if it doesn't support > > > > all subsets. wmii worked this way too, but was recently patched to > > > > allow 'half utf-8 capable' fonts to work. > > > > > > > > Note that I don't really know what I'm talking about here, this is > > > > just what I understood from a thread on the wmii mailinglist, I *may* > > > > have gotten it completely wrong. > > > > > > I'm not sure if it might solve the problem dmtry noticed, but > > > attached patch will enforce to use the specified font even if > > > necessary font sets are missing. dmtry let me know if you get > > > better results with this patch applied (though I doubt it, > > > > With this patch applied I see no characters at all in the status bar > > anymore, just some squares... > > Well, then the font you use does not contain those fontsets, and > now dwm don't uses 'fixed' as internal fallback in such > situations, which might be the reason for what you notice.
Well, the font works perfectly in xterm or mlterm or emacs .. I have the following in config.h: #define FONT "-misc-fixed-bold-r-normal--0-0-75-75-c-0-iso10646-1" and I have the same problem with: #define FONT "-*-terminus-medium-*-*-*-14-*-*-*-*-*-iso10646-*" > > > better is to uncomment the missing fontsets reported by dwm in > > > your ru_RU.UTF-8/XLC_LOCALE file... but well. > > > > Where would dwm report those? My ~/.xsession-errors is empty.. > > dwm reports them to stderr, dunno where you redirect it to. I > use dwm > $HOME/dwm.err 2>&1 and then my dwm.err contains > something like: > > missing fontset: JISX0201.1976-0 > missing fontset: GB2312.1980-0 > missing fontset: KSC5601.1987-0 > missing fontset: JISX0208.1983-0 > ** Message: plugin_get_value 1 (1) > > It also contains the output of apps which have been invoked by > dmenu and which write to stderr. OK, that helped, thanks. With the fixed font I get missing fontset: JISX0201.1976-0 missing fontset: GB2312.1980-0 missing fontset: KSC5601.1987-0 missing fontset: JISX0208.1983-0 missing fontset: ISO8859-1 missing fontset: ISO8859-1 with terminus I get missing fontset: JISX0201.1976-0 missing fontset: GB2312.1980-0 missing fontset: KSC5601.1987-0 missing fontset: JISX0208.1983-0 I'm scratching my head here. Can anybody point me to the relevant manuals I could start reading? Diego