It's a common problem for awt i18n. Set the fontname to null to let jre choose the default name for you. For example, you can change Font titleFont = new Font(fontName, fontStyle, fontSize); to Font titleFont = new Font(null, fontStyle, fontSize); in specialpurpose/pos/src/org/ofbiz/pos/component/Operator.java.
Rebuild and try again. Good luck, Shi Jinghai/Beijing Langhua Ltd. 在 2009-09-27日的 20:53 -0700,ngterry写道: > Hi, > > I am using Windows XP Simplified Chinese Version SP3, Sun JDK5.0 Update 20. > I want to run Apache Ofbiz POS; however, the Chinese characters (zh) in > PosUiLabels.xml are all displayed as square boxes in POS panel. > > I have tested run Ofbiz in Mac OS X and the Simplified Chinese are displayed > normally, and other languages can also be displayed in Windows XP. > > I think there should be some settings in fontconfig.properties in > %JAVA_HOME%\jre\lib that I can work on. But I don't know what is going > wrong. > > I have copied the font SimSun.ttf to %JAVA_HOME%\jre\lib\fonts. > > What should I do? > > Regards, > Terence