Chinese font in Java

Thanks for your comment, Yes, 应该加一个中文字体的设置, But I do not know how to do it.

My objective for this artical is to make the Java installation in Debian :

1. Simple and Easy to use- Just follow the steps, job done.

2. Clear - no others unrelated messages to prevent ambiguity. (i.e. Discussion groups or news group always have a long reply message on the subject but never have a final summary on the solution when they solve the problem).

3. The steps were tested and work.

With this artical, Debian Users no need to search other source from different Debian web sites .

Any one should just follow those steps then can complete the installation of the application (i.e. Java).

This is my primary objective.

Refer to my pervious artical on installation Java on Woody, I took some times to find out the way to install Java on Woody which was not fun.

Linux users always help each other on the news group, But few will summarize on their solution.

I hope my contributtion can help the new users to save time and no need to reinvent the wheel.

I also hope other Debian Users can help to make this artical more usefull and include Java options installation with easy steps. i.e. Chinese fonts.

By the way , Some questions on your reply:

1 .建立目录:$JAVA_HOME/jre/lib/fonts/fallback;

2. cp中文字体到刚才建立的目录中,或者在这个目录中建立到中文字体的连接;

The Jave directory has a fonts directory at :

/usr/lib/j2sdk1.5-sun/jre/lib/fonts

Do I need to create another new directory or just cp 中文字体 到 /usr/lib/j2sdk1.5-sun/jre/lib/fonts 目录中 ?

What kinds of 中文字体 can work on Java ?

big5, GB or unicode ? Java default support unicode.

On /usr/lib/j2sdk1.5-sun/jre/lib/fonts 目录中 , I saw those are ttf fonts.

Can I just cp Debain Chinese fonts(i.e. ttf-arphic-bkai00mp ttf-arphic-bsmi00lp ) to it ? Will it work ?

I shall update this artical after I test it work.

Looking for your reply.

Kim Man Lau

回覆