This content has been marked as final. Show 3 replies
"Arial Unicode MS" is the font provided by Microsoft, usually with MS Office products. I believe that's why those Chinese are rendered as square boxes on Linux. Either specifying some Chinese font available on your Linux box in the Font constructor, or using one of the logical fonts instead (for JDK5 and later) would help.
Yes. I could like to change it to the logical name fonts.
Are the Chinese fonts pre-installed on the linux box, or someone has to install it? Do I need to change the locale on the system and set the fontconfig files for the fonts to be find?
That depends on each distribution. Take a look at the package manager (or equivalent) and check whether Chinese language is installed or not. Usually you don't have to tweak the font configs if the JRE comes with the distribution, e.g., Ubuntu.