java/76658: font.properties actual font file cannot point to a
symlink
Clive Lin
clive at tongi.org
Tue Jan 25 11:50:21 PST 2005
The following reply was made to PR java/76658; it has been noted by GNATS.
From: Clive Lin <clive at tongi.org>
To: leafy <leafy at leafy.idv.tw>
Cc: FreeBSD-gnats-submit at freebsd.org
Subject: Re: java/76658: font.properties actual font file cannot point to a symlink
Date: Wed, 26 Jan 2005 03:44:26 +0800
On Tue, Jan 25, 2005 at 07:12:10PM +0800, leafy wrote:
> >Description:
> In ${JDK_HOME}/lib/font.properties.zh_TW (or any other files in this case), the last line designating the actual path to the font file cannot be a symlink
> >How-To-Repeat:
> Just change the last line to point to a symlink. (I had a symlinked /usr/local)
I also have another note here:
Fonts installation procedure under ports/chinese typically will
call ttfm.sh, which is actually.. bogus now. May you try
cd /usr/X11R6/lib/X11/fonts/TrueType
rm fonts.dir* fonts.scale
mkfontscale ; mkfontdir
xset fp rehash
cd /usr/local/jdk1.4.2/demo/applets/Fractal
appletviewer example1.html
Tricks above always work for me. Big5 encoded Chinese fonts, are
displayed correctly.
Here are my screen shots:
http://twn.tongi.org/goodApplet.png
http://twn.tongi.org/goodJavaConsole.png
You may also try applets below. The "reset" and "start" button in
Chinese characters work perfectly here.
http://www.phy.ntnu.edu.tw/java/springForce/index.html
http://www.phy.ntnu.edu.tw/java/shm/index.html
--
Clive Tong-I Lin | http://tongi.org | PGP KeyID: A008C03E
More information about the freebsd-java
mailing list