From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Tue, 15 Sep 1998 14:10:52 +0900 From: okamoto@granite.cias.osakafu-u.ac.jp okamoto@granite.cias.osakafu-u.ac.jp Subject: [9fans] mothra char set Topicbox-Message-UUID: 80294806-eac8-11e9-9e20-41e7f4b1d025 Message-ID: <19980915051052.tkTL5RiSEdWFuvH_jXjALb4LEugwGutfTxxq9TUpug0@z> Mothra again. I changed a little bit rdhtml.c fot testing to read UTF-encoded Japanese. This is the pre-start point, I know. This is only to check why we cann't see Japanese text by mothra. Now, I can see Japanese document on my screen. I'd like to know some advise what 'd be better to proceed this line. Don't we need some mechanism to change font automatically? 1) replaced all the fontlist[4][4] to "pelm/unicode.8",0,0,0, "pelm/unicode.9",0,0,0, "pelm/unicode.9",0,0,0, "pelm/unicode.9",0,0,0, for all four sets (this is just for simplicity). 2) edit some lines in latin2utf() in the same file like ............ for(l=latin;*l;) { nutf+=chartorune(&r, l); l+=runelen(r); } .............. for (l=latin;*l;) { l+=chartorune(&r, l); u+=runetochar(u, &r); }