Mike Fabian <[EMAIL PROTECTED]> writes: > Anthony Fok <[EMAIL PROTECTED]> writes: > >> On Tue, Feb 05, 2002 at 07:50:12PM +0100, Mike Fabian wrote: >>> I still can't use XIM with Abiword 0.99.1 although it worked with >>> Abiworrd 0.9.2. In the same way as I wrote below, it doesn't even >>> react to the key sequence to switch on XIM (Shift-Space for kinput2 or >>> Control-Space for xcin). >>> You wrote recently that Abiword is your favorite word processor, >>> therefore I assume that you can do Chinese input in Abiword. >>> Do you have any idea what could be wrong? >> >> Are you compiling AbiWord with GNOME support? > > Yes. > >> I have never been able to input Chinese when AbiWord is linked with >> GNOME instead of GTK. Not quite sure what is wrong. For this >> reason, we are sticking with the GTK version of AbiWord for the time >> being. > > You are right, it works when I link AbiWord only with GTK. > >> Hope this helps solve your problem. > > Thank you very much, it is a very helpful hint. Probably I can't > disable GNOME support, the maintainer of the SuSE AbiWord package > thinks it is useful and wants it enabled, but at least it helps to > narrow down the problem.
I found that the following patch makes XIM work even when AbiWord is built with GNOME support:
abiword-0.99.1-gnome-xim.dif
Description: Binary data
This patch is originally from Petr Tesarik <[EMAIL PROTECTED]>
and was posted to the abiword-dev mailing list in May 2000:
http://www2.abisource.com/mailinglists/abiword-dev/00/May/0254.html
I just had to tweek it a little bit to make it apply cleanly to the
current AbiWord sources, but the patch still works!
Unfortunaly, now that XIM finally works, I stumbled over the next
problem:
When trying to print Chinese or Japanese with an Abiword
compiled with GNOME support, I just get the error message:
The font metrics file [MOESung-Regular-B5-H] could
not be opened for parsing, nor was
it possible to retrieve the needed
information from the X server; this
is a fatal error and AbiWord will
terminate.
[ OK ]
MOESung-Regular-B5-H is a CID-keyed font which is supported
by the Ghostscript installation I am using.
/usr/share/AbiSuite/fonts/zh-TW/fonts.dir contains:
fonts.dir
Description: application/director
With this setup, printing works just fine when when AbiWord is build without GNOME support. Any ideas what is going wrong with printing when AbiWord is built with GNOME support? -- Mike Fabian <[EMAIL PROTECTED]> http://www.suse.de/~mfabian 睡眠不足はいい仕事の敵だ。
