Can Java on Unix Use Windows Fonts?

I am using Java on Unix and would like to use Windows True-Type or Open-Type fonts. Can Java read a Windows true/open-type font (.ttf) file?

What should I do to make Java pick up such Windows fonts? How should I name the font on Unix (I mean Unix fonts seems to be named in a "-adobe-times-normal-...-iso8859-1", yet Windows fonts are named such as "Times")?

If I need to modify font.properties file, how should I modify it? What other files do I need to change?

[495 byte] By [wangshuanhu] at [2007-9-26 2:11:32]
# 1
I get the problem too.How to solove it?
kuhai at 2007-6-29 9:03:43 > top of Java-index,Desktop,Runtime Environment...
# 2

If you want to use true type fonts with you GUI application your XServer should be able to run TT fonts.

Latest XFree86 does and you should enable TT support by running xfstt daemon and adding TT font server to fonts path. When you download xfstt package (you may already have it installed with your favourite linux distro) you will find more specific instructions on installation and a property file which can be used with JDK or JRE.

v.pavlov at 2007-6-29 9:03:43 > top of Java-index,Desktop,Runtime Environment...
# 3
My linux system have supported TrueType Fonts and I can input the chinese in the advanced Eidtor of kde.Following is my problem now:1. I can't input chinese in Netbeans and jEidt.2. The Jbuilder can't display the Chinese Do you know how to solve?
kuhai at 2007-6-29 9:03:43 > top of Java-index,Desktop,Runtime Environment...