Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Jan 2005 19:50:06 GMT
From:      Clive Lin <clive@tongi.org>
To:        freebsd-java@FreeBSD.org
Subject:   Re: java/76658: font.properties actual font file cannot point to a symlink
Message-ID:  <200501251950.j0PJo6qj002640@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR java/76658; it has been noted by GNATS.

From: Clive Lin <clive@tongi.org>
To: leafy <leafy@leafy.idv.tw>
Cc: FreeBSD-gnats-submit@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200501251950.j0PJo6qj002640>