On =x11-terms/rxvt-unicode-9.07-r2 Japanese characters would display fine, however upon upgrading to x11-terms/rxvt-unicode-9.10 they no longer display correctly. It seemed like a halfwidth vs fullwidth issue. [ebuild R ] x11-terms/rxvt-unicode-9.10 USE="256-color font-styles perl truetype wcwidth -afterimage -blink -fading-colors -force-hints -iso14755 -pixbuf -unicode3 -vanilla" 0 kB I have also tried with -wcwidth and just plain vanilla. For reference I have my font set to this in .Xdefaults: urxvt*font: xft:Droid Sans Mono Slashed-16 Xft*hintstyle: hintfull Xft*antialias: 1 Reproducible: Always Portage 2.1.9.42 (default/linux/amd64/10.0, gcc-4.4.5, glibc-2.13-r1, 2.6.37-gentoo x86_64) ================================================================= System uname: Linux-2.6.37-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T9300_@_2.50GHz-with-gentoo-2.0.1 Timestamp of tree: Tue, 08 Mar 2011 21:30:01 +0000 app-shells/bash: 4.1_p10 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.6.6-r2, 2.7.1-r1, 3.1.3-r1 dev-util/cmake: 2.8.4 sys-apps/baselayout: 2.0.1-r1 sys-apps/openrc: 0.7.0 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.13, 2.68 sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.21 sys-devel/gcc: 4.3.3-r2, 4.4.5, 4.5.2 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82 virtual/os-headers: 2.6.36.1 (sys-kernel/linux-headers) ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=core2 -pipe -msse4.1 -mcx16 -msahf --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=6144" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /etc/shorewall/ /usr/share/config /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -march=core2 -pipe -msse4.1 -mcx16 -msahf --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=6144" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--keep-going --jobs=2 --load-average=2" FEATURES="assume-digests binpkg-logs collision-protect distlocks fixlafiles fixpackages multilib-strict news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" GENTOO_MIRRORS="http://gentoo.osuosl.org/ ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ " LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" LDFLAGS="-Wl,-O1,--as-needed" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/home/ken/overlay" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi alsa amd64 automount avahi bash-completion berkdb bitmap-fonts bluetooth bzip2 cairo cdr cli consolekit cracklib crypt cups curl cxx dbus divx4linux dri dv dvd dvdread dvi encode fame ffmpeg flac fontconfig fortran gdbm gif git glitz gnutls gpm gstreamer gtk hal hg iconv imap jpeg kde laptop libnotify mad mdnsresponder-compat mercurial mmx modules mp3 mpeg mplayer mtp mudflap multilib nautilus ncurses networkmanager nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png pppd python qt3support qt4 quicktime readline session spell sql sqlite sse sse2 ssl ssse3 subtitles svg symlink sysfs tcpd theora tiff truetype truetype-fonts type1-fonts unicode usb vim vim-syntax vorbis webkit x264 xft xinerama xml xorg xulrunner xvid zlib zsh-completion" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 265387 [details] screenshot of problem Here's a screenshot showing the problem between the 2 versions of urxvt. The top one being 9.07 and the bottom one being 9.10
OK, I'm seeing that too with USE="256-color fading-colors font-styles iso14755 perl pixbuf truetype vanilla -afterimage -blink -force-hints -unicode3 -wcwidth" Haven't noticed by now, cause stopped using urxvt actively after confrontation with the author.
By the way, crazy CFLAGS. Mine are just about vanilla and I'm on x86.
(In reply to comment #3) > By the way, crazy CFLAGS. These all look legitimate to me. @Kenneth: Could you attach or point to a file with Japanese characters so I can test locally? Also, it looks right now like USE=vanilla only stops us from applying two "unsupported" patches - maybe we should change that to include all the others, or it won't really be "vanilla" after all. Could you test with USE="-* vanilla"?
Created attachment 265479 [details] Japanese test file Hm, well it appears to actually work with USE="-*". After some fiddling around, it would seem USE=256-color is what breaks it. I attached a small file with an example sentence in it.
I have a question from the rxvt-unicode team (posting by proxy): Can you check if this bug is fixed in rxvt-unicode CVS version? The fix is not included in the 9.11 release. The instructions to fetch the CVS version are there: http://software.schmorp.de/pkg/rxvt-unicode.html
@comment 6: I'm surprised upstream didn't sent you to some rpm repository, as they usually do. But the patch (revision 179 of rxvtfont.C - honestly, still on cvs...) indeed fixes the problem.
<http://cvs.schmorp.de/rxvt-unicode/Changes>: 9.12 Wed Jun 29 14:34:28 CEST 2011 [...] - fix rendering of double width chars in certain circumstances, more likely to happen if urxvt is compiled with 256 colors support as urxvt runs out of fonts much earlier then. Fixes gentoo bug #358151 (Emanuele Giaquinta).