From owner-freebsd-java@FreeBSD.ORG Tue Jan 25 19:50:21 2005 Return-Path: Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0E9A616A4CE for ; Tue, 25 Jan 2005 19:50:21 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id DE8B443D2D for ; Tue, 25 Jan 2005 19:50:06 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.1/8.13.1) with ESMTP id j0PJo6LP002645 for ; Tue, 25 Jan 2005 19:50:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.1/8.13.1/Submit) id j0PJo6qj002640; Tue, 25 Jan 2005 19:50:06 GMT (envelope-from gnats) Date: Tue, 25 Jan 2005 19:50:06 GMT Message-Id: <200501251950.j0PJo6qj002640@freefall.freebsd.org> To: freebsd-java@FreeBSD.org From: Clive Lin Subject: Re: java/76658: font.properties actual font file cannot point to a symlink X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Clive Lin List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Jan 2005 19:50:21 -0000 The following reply was made to PR java/76658; it has been noted by GNATS. From: Clive Lin To: leafy 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