Japanese Input in OpenOffice and Mozilla

Input into either OpenOffice or Mozilla in Mepis Linux.

shift-space or F5 toggles Japanese input on/or off
and F5 (toggles between hiragana, katakana, etc.)

Printing Japanese
Mozilla printing Japanese looks ugly so copy and paste from mozilla into openoffice. Always print Japanese text from OpenOffice if you want beautiful print.
Tip: You can also copy and paste into most apps from OpenOffice.


Mozilla with English menus but Inputting Japanese.

- on taskbar right click on Mozilla browser icon | Properties



Command: change
mozilla to
GTK_IM_MODULE=im-ja mozilla

Optional:
you can add a second Mozilla icon for Japanese, while keeping one for English
- right click on taskbar | Add | Application Button | Internet | Mozilla Browser
- right click on newly created Mozilla browser icon | Properties and
click on Mozilla icon under General tab and change it to red Mozilla icon and do above.



You may or may not need to do the following in Mozilla to view some Japanese webpages.
View | Character Encoding | Auto-Detect | Japanese



hit F5 to start Japanese input into Mozilla and you'll see a hiragana character bottom left of screen.


You can click on the hiragana character to choose a Japanese input mode or F5 to toggle through them.


type eiga and hit spacebar a couple of times to show all possible kanji candiates. Use tab to move through them or just the mouse to select the correct one.

OpenOffice with English menus but Inputting Japanese.


Open OpenOffice and go to Tools | Options | Language Settings | Languages
check Enabled - Asian languages support
Asian choose Japanese then Click OK.


Then go back Tools | Options | Language Settings | Languages | Asian Layout and change First and Last Characters to Japanese.


C heck Tools | Options | Text Document | Basic Fonts (Asian) are set to Japanese fonts.


Right click on OpenOffice icon on taskbar | Properties | Application tab | Command:




change
/usr/bin/oowriter to
/usr/bin/oowriterja

Now create a file called oowriterja
su
vi /usr/bin/oowriterja

Add the following in this file and save it.
pidof im-ja-xim-server >/dev/null || LC_ALL="en_US.UTF-8" im-ja-xim-server &
XMODIFIERS="@im=im-ja-xim-server" LANG="en_US.UTF-8" /usr/bin/oowriter

make it executable
chmod +x /usr/bin/oowriterja


Now always open the OpenOffice Icon on your taskbar and hit F5 to start inputting Japanese. You can click New Document and choose Text Document, Spreadsheet, Presentation, Drawing, HTML Document, etc. and you'll be able to input Japanese into all of them.



Only caveat (looking for a solution) is in the input line it will just show rectangular squares. Problem due to it using a system font. But other than that works great in Calc, Presentation, Draw, etc.



These are the available Japanese True Type fonts you can choose from.

Updated Jul 2, 2004


Back Home