From owner-freebsd-openoffice@FreeBSD.ORG Mon Apr 5 11:44:09 2004 Return-Path: Delivered-To: freebsd-openoffice@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9713C16A4CE for ; Mon, 5 Apr 2004 11:44:09 -0700 (PDT) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.177]) by mx1.FreeBSD.org (Postfix) with ESMTP id B68ED43D1D for ; Mon, 5 Apr 2004 11:44:08 -0700 (PDT) (envelope-from RoKlein@roklein.de) Received: from [212.227.126.207] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1BAZ4j-0005N9-00; Mon, 05 Apr 2004 20:44:01 +0200 Received: from [80.129.53.205] (helo=z105-e.intern.studentenwohnheim-rhein-main.de) by mrelayng.kundenserver.de with asmtp (TLSv1:RC4-MD5:128) (Exim 3.35 #1) id 1BAZ4j-0003Su-00; Mon, 05 Apr 2004 20:44:01 +0200 From: Robert Klein Organization: roklein.de To: Stephen Liu Date: Mon, 5 Apr 2004 20:43:57 +0200 User-Agent: KMail/1.6.1 References: <20040330.104424.74691423.roklein@roklein.de> <200404041636.54157.RoKlein@roklein.de> <200404050014.01446.satimis@icare.com.hk> In-Reply-To: <200404050014.01446.satimis@icare.com.hk> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200404052043.57621.RoKlein@roklein.de> X-Provags-ID: kundenserver.de abuse@kundenserver.de auth:ed18d71deac0f49a40655750752d3db9 cc: xcin@linux.org.tw cc: freebsd-openoffice@freebsd.org Subject: Re: [XCIN] Re: Chinese input (using xcin) and OpenOffice on FreeBSD X-BeenThere: freebsd-openoffice@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: RoKlein@roklein.de List-Id: Porting OpenOffice to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Apr 2004 18:44:09 -0000 Hi, Stephen, >> Selecting either "AR PL KaitiM GB" and "ARPL SungtiL GB" there > was output for "ni hao". But no output of "learn" and "door". > They are different in Big5 and GB That's Ok then. GB doesn't have traditional characters. > > Mm, what does it say in your /var/log/XFree86.0.log file? > > (WW) `fonts.dir' not found (or not valid) in > "/usr/local/share/fonts/ TrueType/". > Entry deleted from font path. > (Run 'mkfontdir' on "/usr/local/share/fonts/TrueType/"). > > Is there a fonts.dir file in the > > /usr/local/share/fonts/TrueType directory? > NO > Shall perform > # cp fonts.dir fonts.scale > after "ttmkfdir >fonts.dir" ??? I'm not sure this will help, but I'm sure it won't hurt, either. So you can give it a try.. I think this is not the problem, however. I suggest you comment out the xtt server in the Module section of XF86Config (at least for one attempt). Following up on your other mail: 1) How to type GB characters: Start xcin with GB enabled (I could not do this) or use another input program, like fcitx. This is an ugly solution, but I don't know anything else. 2) How to start an application with Chinese input enabled simultaneously instead of executing the abovementioned 3 command lines and then starting an application all on xterm window You could write wrapper scripts. e.g. one for starting xcin with just those three lines in it: #!/usr/local/bin/bash export XMODIFIERS=@im=xcin export LC_CTYPE=zh_TW.Big5 /usr/X11R6/bin/xcin2.5 & and then further scripts for each application, e.g. #!/usr/local/bin/bash export XMODIFIERS=@im=xcin export LC_CTYPE=zh_TW.Big5 /usr/local/bin/kmail & and so on... However, if you want to have Chinese input enabled always, you can put the first three line in your .xinitrc file (or whatever file is executed at window manager startup). > P.S. I made a mistake creating following directory with > "ttmkfdir" command > /root/fonts.dir > How to remove it. "rmdir /root/fonts.dir" did not work fonts.dir is a file, not a directory. A simple "rm /root/fonts.dir" should do. (I know, the name of the file is very confusing...) (ps: my next answer can take a while. I'll be mostly offline for the next week and a half.) Best regards, Robert