From owner-freebsd-java@FreeBSD.ORG Wed Jan 26 02:30:26 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 B453016A4CE for ; Wed, 26 Jan 2005 02:30:26 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 97D8343D2D for ; Wed, 26 Jan 2005 02:30:26 +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 j0Q2UQpj049437 for ; Wed, 26 Jan 2005 02:30:26 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.1/8.13.1/Submit) id j0Q2UQQi049436; Wed, 26 Jan 2005 02:30:26 GMT (envelope-from gnats) Date: Wed, 26 Jan 2005 02:30:26 GMT Message-Id: <200501260230.j0Q2UQQi049436@freefall.freebsd.org> To: freebsd-java@FreeBSD.org From: "Jiawei Ye" 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: Jiawei Ye List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Jan 2005 02:30:26 -0000 The following reply was made to PR java/76658; it has been noted by GNATS. From: "Jiawei Ye" To: , Cc: Subject: Re: java/76658: font.properties actual font file cannot point to a symlink Date: Wed, 26 Jan 2005 10:22:42 +0800 I don't use ttfm.sh actually, they are for XTT and I use FreeType. I use ttmkfdir from the ports collection. 2 worthy notes here: 1. Applets had always worked, it's the standalone JVM that b0rks all the time. http://www.chinatimes.com.tw displayed correct Chinese characters while the SwingSet2 demo displayed blank boxen (JFileChooser demo) 2. Distributied font.properties.zh_TW has the last line pointing to /usr/local/share/fonts/TrueType/bsmi00.ttf. If the path is a symlink, in my case linked to /home/local/share/fonts/TrueType/bsmi00.ttf, the JVM will not find the proper font file and resulted in blank boxen too. So the problem lies in the JVM code either when trying to find the properties file or when trying to locate the actual font file. Regards, Jiawei Ye