Re: To our Chinese friends...


Subject: Re: To our Chinese friends...
From: Vlad Harchev (hvv@hippo.ru)
Date: Fri Nov 03 2000 - 04:16:12 CST


On Fri, 3 Nov 2000, Chih-Wei Huang wrote:

 Hi,

> Martin Sevior ¼g¹D¡G
> >
> > Hi,
> > I was wondering if you guys could give a summary of chinese
> > support on current CVS Abi. Can you tell us what works and what doesn't?
>
> Hi,
> I have to say sorry that I'm too busy to follow
> all threads of CJK support.
> I just checkout the latest CVS Abi and build for testing.
> After add the appropriate fonts.dir to fonts/zh-TW,
> I CAN input, display, print Chinese in Abiword (in zh_TW.Big5 locale).
> Loosely speaking, the CJK support of the current CVS
> is at least as good as HJ's patch. That's great!
>
> I also tried the zh_CN.GB2312 locale, the problem still there.
> I can input but the character didn't display.
> Vlad has mentioned this should be fixed by changing
> gdk_font_load() to gdk_fontset_load() in gr_UnixGraphics.cpp.

 Not exactly, but I've posted patches that do it properly (in general, they
use gdk_fontset_load, but they compose fontset from 2 fonts).

> I notice it is not in the current CVS, so I get Vald's
> next-cjk-patch.diff and tried to apply it, but failed.

 That pieces are definitely in
        http://www.hippo.ru/~hvv/abiword/cjk-patch-add.diff
 I don't think that those pieces (with fontset_load) are in
        next-cjk-patch.diff

 Extract manually diffs for src/af/xap/unix/xap_UnixFont.cpp and apply them
and you should be set.
 Sorry I can't do this for you - I will have free time 6 hours later.
 Please report results.

> There are many rejects. So, Vlad, could you provide a
> clean patch against the current CVS? Thanks!!
>
> I have also tried the RTF export. I open the exported RTF
> by MSWord97, but Chinese character didn't display. It messed up.
> Copy & paste for Chinese didn't work, either. (between rxvt 2.7.3 & abi)

 I know the fix for it (andc posted in as attachment to mail to Belcon) - that
was patch to
 ie_exp_RTF*.cpp

Unfortunately Belcon refuses to tell whether applying it fixes that problem
of exporting RTFs:)

> I made a screenshot to demo the Chinese support of the
> current CVS Abi:
> http://cle.linux.org.tw/CLE/images/screen_shot/abiword-3.jpg
>
> Thanks for your great work!!

 Thank you for your report.
 
> Best Regards,
>
> --
> ~ Chih-Wei Huang (cwhuang)
> 'v' E-Mail : cwhuang@linux.org.tw
> // \\ CLDP Project : http://www.linux.org.tw/CLDP/ (Coordinator)
> /( )\ CLE Project : http://cle.linux.org.tw/CLE/ (Developer)
> ^`~'^ HomePage : http://www.cwhuang.idv.tw/
>

 Best regards,
  -Vlad



This archive was generated by hypermail 2b25 : Fri Nov 03 2000 - 04:35:26 CST