Freemind is a java program, so we need to solve the problem of java Chinese fonts first. Generally, we only need to copy a Chinese font to a folder under the lib/fonts of jre, if multiple jre are used, you need to determine which version is used to run freemind. Of course, it is best to copy the font. My practice: copy from XP to simsun. ttctahoma. ttfverdana. ttfverdanab. ttfverdanaz. tt
Freemind is a java program, so we need to solve the problem of java Chinese fonts first. Generally, we only need to copy a Chinese font to a folder under the lib/fonts of jre, if multiple jre are used, you need to determine which version is used to run freemind. Of course, it is best to copy the font.
My practices:
Copy From XP to simsun. ttc tahoma. ttf verdana. ttf verdanab. ttf verdanaz. ttf tahomabd. ttf verdanai. the ttf fonts are placed under the/usr/share/fonts/zh_CN/TrueType folder, and then executed in the folder.
Sudo mkfontscalesudo mkfontdir
Create a soft connection in/usr/lib/jvm/java {version}/jre/lib/fonts after two configuration files are generated
Sudo-s/usr/share/fonts/zh_CN/TrueType fallback
In this way, the font is fixed and the test is run:
/Usr/lib/jvm/java-1.5.0-sun/bin/java-jar/usr/lib/jvm/java-1.5.0-sun/demo/jfc/FileChooserDemo. jar
After the problem is fixed, my SCIM still has some problems. I am using the bridge mode. I don't know if it is the problem. According to the third article in the reference, I found that I need to run
Scim-d-c socket-f x11-e socket
Load the SCIM module, and enter Chinese in freemind.
By the way, the automatic loading method is provided:
Create the 75custom-scim_init file in/etc/X11/Xsession. d, which includes the following content:
Export XMODIFIERS = "@ im = SCIM"
Export GTK_IM_MODULE = "scim"
Export XIM_PROGRAM = "scim-d"
Go to System-> Preferences-> Sessions, select Startup Programs, add scim-d, and retain the order as 50.
Log on to the root terminal and enter the following command:
Gtk-query-immodules-2.0>/etc/gtk-2.0/gtk. immodules