Hi, Gary Zhang writes: > I tried rev. 390, and I still get messed ASCII-art display, because of > non-fixed width.
In my implementation, the width is fixed! Even if you use a variable-width font, each column will be the exact same size. The only cause where this could be messed up is when the used font will use some ambiguous character as double... I will look at this. > B.txt is encoded as Big5, so I cat b.txt in the following environment. Ok so this is Big5, and not ISO-8859? I will try with a Big5 locale. I will set one up this evening if I have the time. Would you have a screenshot of the finale result you are supposed to have? Because both of your last screenshot did not look very 'art' to me, so I guess none were the expected result. > I think the encoding of file and environment are matched. > I have no idea what I have to do. > > P.S. > Every chinese word is composed as a fixed width, if the kerneling is > not enabled. > (http://en.wikipedia.org/wiki/Big5) > > >> For my personal culture... what is exactly this ptt.cc? Which encoding >> should I use to get something nice in the terminal? Looking at the >> website, it looks chinese, but I am not sure if we are supposed to get >> something nice if I configure my mrxvt with the right encoding and the >> right font. If so, which encoding have I to use and which font do you >> suggest for Chinese? > > $ locale > LANG= > LC_CTYPE=zh_TW.Big5 > LC_NUMERIC="POSIX" > LC_TIME="POSIX" > LC_COLLATE="POSIX" > LC_MONETARY="POSIX" > LC_MESSAGES="POSIX" > LC_PAPER="POSIX" > LC_NAME="POSIX" > LC_ADDRESS="POSIX" > LC_TELEPHONE="POSIX" > LC_MEASUREMENT="POSIX" > LC_IDENTIFICATION="POSIX" > LC_ALL= > > -xftfn 'DejaVu Sans Mono;AR PL UMing TW-11;MingLiU-12' > -xftsz 10 > > AR PL UMing TW is enough. > (http://www.freedesktop.org/wiki/Software/CJKUnifonts/Download) > > But I use MingLiU for better looking, MingLiU can be found in XP or > Vista, or read > http://garyzyg.blogspot.com/2006/08/downloadable-fonts-from-microsoft.html > If you want to use MingLiU, please check if > TT_CONFIG_OPTION_BYTECODE_INTERPRETER is disable in > /usr/include/freetype2/freetype/config/ftoption.h. If the answer is > yes, I suggest you use 6.02. > > -- > Regards, > Gary I will look at this tonight too. Anyway did you try again? Was the issue you were encountering fixed too? Jehan ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Materm-devel mailing list Materm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/materm-devel mrxvt home page: http://materm.sourceforge.net