Posts

Showing posts with the label Chinese

Chinese font can not be show correctly with JAVA application on FreeBSD

I ran into this problem as I installed the freemind. After searching with Google, the following steps can solve the problem. Create a directory named "fallback" in JRE path # cd /usr/local/jdk1.6.0/jre/lib/fonts # mkdir fallback Link a TrueType that I wanted to the new directory # cd fallback/ # ln -s /usr/local/lib/X11/fonts/TrueType/bsmi001p.ttf ./bsmi001p.ttf Restart the JAVA application After restarting, the JAVA application will show chinese font properly. ps. Many thanks for Tim's help.