almost certainly multiple things are wrong
1) compiling isn't the issue its the runtime environment that matters
2) you perhaps didn't edit the fonts.dir right and even if you did it won't
help as that directory is not on the x font path
3) font.properties.zh doesn't even reference the fonts you installed.
2) these aren't the right type of fonts for Java2D so even if you solved all
the above the fonts still would not work properly

-phil.

> X-MIME-Autoconverted: from base64 to 8bit by mail.java.sun.com id f4IJggk18683
> Date: Wed, 19 May 1999 03:44:47 +0800
> From: Tonny Liu <[EMAIL PROTECTED]>
> Subject: [JAVA2D] Chinese fonts--pls help out
> To: [EMAIL PROTECTED]
>
> Hi,all, I encountered a font problem, please give me a hand, thanks in
advance.
> I installed jdk1.3 on Redhat 6.2, for I have some chinese info,I want jdk1.3
support chinese fonts, so I did as follows:
> 1. I downloaded cxterm and installed it and  copied  font files
"gb16st.pcf.gz" and "hku16et.pcf.gz" to  $JAVA_HOME/jre/lib/fonts/.
> fonts.dir file under jre/lib/fonts/ looks like:
> **************BEGIND OF fonts.dir *************
> 2
> hku16et.pcf.gz -hku-fixed-medium-r-normal--16-160-72-72-c-160-big5.et-0
> gb16st.pcf.gz -isas-song ti-medium-r-normal--16-160-72-72-c-160-gb2312.1980-0
> *****END OF fonts.dir**********************
> 2. I renamed the font.properties.zh to  font.properties.
>
> I compiled my file using "javac -encoding GBK test.java" ,But chinese fonts
still show "???". BTW, my  term support chinese display.
>
> I didn't know why, can anybody give me some advice?
>
> Best regards,
>
> Tonny.
>
> ===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff JAVA2D-INTEREST".  For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA2D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to