[dwm] Cannot use some fonts in dwm

From: Ning Bao <phabulosa_AT_gmail.com>
Date: Tue, 5 Jun 2007 22:36:01 -0700


I have installed some Chinese fonts on (K)ubuntu 7.04 and it works fine in
other WMs.

-*-wenquanyi bitmap song-*-r-normal-*-16-*-*-*-*-*-*-*

However, I used xfontsel to produce the font configuration line,

ning_AT_LiveStrong-Kubuntu:~$ DISPLAY=:1 dwm &
[4] 16044
ning_AT_LiveStrong-Kubuntu :~$ dwm: missing fontset: ISO10646-1
dwm: missing fontset: JISX0201.1976-0
dwm: missing fontset: GB2312.1980-0
dwm: missing fontset: KSC5601.1987-0
dwm: missing fontset: JISX0208.1983-0
dwm: missing fontset: ISO8859-1
dwm: missing fontset: ISO8859-1
error, cannot load font: '-*-wenquanyi bitmap
FreeFontPath: FPE "/usr/share/fonts/X11/misc" refcount is 2, should be 1;
Extended Input Devices not yet supported. Impelement it at line 625 in
Could not init font path element /usr/X11R6/lib/X11/fonts/misc, removing
from list!
Could not init font path element /usr/share/fonts/X11/cyrillic, removing
from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/Type1, removing
from list!
but dwm cannot start and shows the following error message in my console:

I can also see my font installed by fc-list and xlsfont. Can someone help

ning_AT_LiveStrong-Kubuntu:/$ fc-list |grep Wen
WenQuanYi Bitmap Song:style=Bold
WenQuanYi Bitmap Song:style=Regular

ning_AT_LiveStrong-Kubuntu:/$ xlsfonts |grep wen
-wenquanyi-wenquanyi bitmap song-bold-r-normal--0-0-100-100-p-0-big5-0
-wenquanyi-wenquanyi bitmap
-wenquanyi-wenquanyi bitmap
-wenquanyi-wenquanyi bitmap song-bold-r-normal--0-0-100-100-p-0-gbk-0
-wenquanyi-wenquanyi bitmap
-wenquanyi-wenquanyi bitmap song-bold-r-normal--0-0-100-100-p-0-koi8-r
-wenquanyi-wenquanyi bitmap song-bold-r-normal--0-0-75-75-p-0-big5-0
-wenquanyi-wenquanyi bitmap song-bold-r-normal--0-0-75-75-p-0-gb18030.2000-0

Received on Wed Jun 06 2007 - 07:36:05 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:43:54 UTC