Package: xterm Version: 4.3.0.dfsg.1-8 xterm is built with the default -mstructure-size-boundary value, 32. This leads to sizeof(XChar2b) being 4 and not 2 as it should be. The result is that xterm with wide-chars enabled will display a null character between each second character.
Steps to see the problem: xterm -fn -adobe-courier-medium-r-normal--12-120-75-75-m-70-iso10646-1 +wc (display is ok) xterm -fn -adobe-courier-medium-r-normal--12-120-75-75-m-70-iso10646-1 -wc (display is obviously wrong) The problem disappears if xterm is build with the -mstructure-size-boundary=8 option. I report the problem against the xterm package because that is the one I found it, and the one with which I experimented, and probably the worst, but it is probably present with all programs that use wide characters with the non-Xft X11 API. I am told that emacs suffers from the same problem. Miscellaneous config information (should not be relevant): xlibs-data 4.3.0.dfsg.1-8 libc6 2.3.2.ds1-18 libexpat1 1.95.8-1 libfontconfig1 2.2.3-4 libfreetype6 2.1.7-2.3 libx11-6 4.3.0.dfsg.1-8 libncurses5 5.4-4 libxaw7 4.3.0.dfsg.1-8 libxrender1 0.8.3-7 Linux zaurus 2.4.20 #1 Thu, 28 Oct 2004 09:59:43 +0900 armv5tel GNU/Linux
pgpjLAcLWkoCH.pgp
Description: PGP signature