From owner-freebsd-java Wed Jun 21 18:24:55 2000 Delivered-To: freebsd-java@freebsd.org Received: from ares.trc.adelaide.edu.au (ares.trc.adelaide.edu.au [129.127.246.5]) by hub.freebsd.org (Postfix) with ESMTP id 01C4C37C120 for ; Wed, 21 Jun 2000 18:24:52 -0700 (PDT) (envelope-from glewis@ares.trc.adelaide.edu.au) Received: (from glewis@localhost) by ares.trc.adelaide.edu.au (8.9.3/8.9.3) id KAA26599; Thu, 22 Jun 2000 10:54:22 +0930 (CST) (envelope-from glewis) Date: Thu, 22 Jun 2000 10:54:22 +0930 From: Greg Lewis To: "Daichi T.GOTO" Cc: freebsd-java@FreeBSD.ORG Subject: Re: patchset9 test: Japanese Font Problem Message-ID: <20000622105422.A26585@ares.trc.adelaide.edu.au> References: <84708005.961590830141.JavaMail.daichi@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <84708005.961590830141.JavaMail.daichi@localhost>; from daichi@ongs.net on Wed, Jun 21, 2000 at 09:33:50PM +0900 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Wed, Jun 21, 2000 at 09:33:50PM +0900, Daichi T.GOTO wrote: > I tried to use Japanese Font with FreeBSD JDK1.2.2 with patchset9. > But I was not able to use it. > > For example, only the two line changes leads segmentation violation. Thats a bad thing :(. > # cd /usr/local/jdk1.2.2/jre/lib > # cp font.properties font.properties.ja > # vi font.properties.ja > # diff font.properties font.properties.ja > 40,41c40,41 > < sansserif.1=-*-zapf dingbats-medium-r-normal-*-*-%d-*-*-p-*-adobe-fontspecific > < sansserif.2=-*-symbol-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific > --- > > sansserif.1=-wadalab-gothic-medium-r-normal--*-%d-*-*-c-*-jisx0201.1976-0 > > sansserif.2=-wadalab-gothic-medium-r-normal--*-%d-*-*-c-*-jisx0208.1983-0 > > # cd /usr/local/jdk1.2.2/demo/jfc/SwingSet > # java -jar SwingSwt.jar > SIGSEGV 11 segmentation violation > > Full thread dump Classic VM (jdk1.2.2-FreeBSD:daichi:2000/06/20-17:39, green threads): > "Thread-0" (TID:0x28e0a598, sys_thread_t:0x8cad880, state:R) prio=4 > "TimerQueue" (TID:0x28e18ea8, sys_thread_t:0x8bc9480, state:CW) prio=5 > at java.lang.Object.wait(Native Method) > at javax.swing.TimerQueue.run(TimerQueue.java, Compiled Code) > at java.lang.Thread.run(Thread.java, Compiled Code) > "Image Fetcher 0" (TID:0x28e37818, sys_thread_t:0x8a46c80, state:CW) prio=8 > at java.lang.Object.wait(Native Method) > at sun.awt.image.ImageFetcher.nextImage(ImageFetcher.java, Compiled Code) > at sun.awt.image.ImageFetcher.fetchloop(ImageFetcher.java, Compiled Code) > at sun.awt.image.ImageFetcher.run(ImageFetcher.java, Compiled Code) > (snip) > > For all users who uses non-english char, this is not good. > I tried in many cases, the X bpp changes (8, 16, 24, 36), use font changes (Wadalab, Watanabe, FC), > font.properties.ja changes. But all try cannot get success. All tries leads segmentation violation. > > I was not able to discover the cause of this problem. I gave up. > But to use non-english fonts in AWT and JFC/Swing is very important for us. > I want to solve this problem. May I solve this problem? I'll look into it. But I might need some pointers on where to fetch the relevant fonts from :). Could you also try the font.properties.ja from the Blackdown Linux JDK and see if that works any better for you? -- Greg Lewis glewis@trc.adelaide.edu.au Computing Officer +61 8 8303 5083 Teletraffic Research Centre To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message