[xge@ics.uci.edu: update: rxvt-utf8/rxvt-multibyte]
----- Forwarded message from Xianping Ge <xge@ics.uci.edu> -----
Mailing-List: contact rxvt-workers-help@rxvt.org; run by ezmlm
Delivered-To: mailing list rxvt-workers@rxvt.org
To: rxvt-workers@rxvt.org
From: Xianping Ge <xge@ics.uci.edu>
Subject: update: rxvt-utf8/rxvt-multibyte
Date: Sun, 16 Jul 2000 20:05:16 -0700
Hi,
I've patched rxvt2.7.3 for multibyte encodings like UTF-8, GBK, Big5, etc.
(Of course rxvt2.7.3 with MULTICHAR_SET already works for GBK, Big5, etc.,
but not UTF-8.)
What's new:
Use #define MULTIBYTE_CHAR to enable the patch. For example,
./configure --enable-multibyte-char
For UTF-8, the Unifont is used:
rxvt -fn '-gnu-unifont-medium-r-normal--16-160-75-75-c-80-iso10646-1'
URLs:
patch:
http://www.ics.uci.edu/~xge/clinux/rxvt/rxvt2.7.3-multibyte.patch
rxvt2.7.3-multibyte.tar.gz:
http://www.ics.uci.edu/~xge/clinux/rxvt/rxvt2.7.3-multibyte.tar.gz
Unifont: Unicode-encoded fonts:
http://czyborra.com/unifont/
http://www.ics.uci.edu/~xge/clinux/xgeunifont.pcf.gz
(with my favoriate fonts added.)
TO DO:
1. debug: lots of bugs inside to be killed!
2. Write functions for UTF-8, GBK, etc to return a character's width
(in columns).
3. For Big5 etc., it's a waste of space to use 16-bit for all characters
including ASCII characters. It's possible to exploit the fact that
2 byte == 2 columns, so we can still use 8-bit per column for Big5 etc.
For more information, see
http://www.ics.uci.edu/~xge/clinux/rxvt/00README
Suggestions, bug fixes, improvements are welcome.
-- Xianping
xge@ics.uci.edu
----- End forwarded message -----
Reply to: