From owner-freebsd-java Wed Jun 21 5:33:39 2000 Delivered-To: freebsd-java@freebsd.org Received: from mbg.sphere.ne.jp (mbg.sphere.ne.jp [203.138.71.44]) by hub.freebsd.org (Postfix) with ESMTP id 8132837BE3F for ; Wed, 21 Jun 2000 05:33:36 -0700 (PDT) (envelope-from daichi@ongs.net) Received: from localhost (pl234.nas511.a-nagoya.nttpc.ne.jp [210.139.68.234]) by mbg.sphere.ne.jp (8.9.3+3.2W/3.7W) with ESMTP id VAA10021 for ; Wed, 21 Jun 2000 21:33:31 +0900 (JST) Date: Wed, 21 Jun 2000 21:33:50 +0900 (JST) From: "Daichi T.GOTO" To: freebsd-java@FreeBSD.ORG Subject: patchset9 test: Japanese Font Problem Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: 7bit X-Mailer: =?iso-2022-jp?B?GyRCJGYkOhsoQiAxLjAwMA==?= Organization: =?iso-2022-jp?B?T05HUyAbJEIzK0gvSXQbKEI=?= Mime-Version: 1.0 Message-ID: <84708005.961590830141.JavaMail.daichi@localhost> Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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. # 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? Daichi T.GOTO(ONGS) http://www.ongs.net/daichi, daichi@ongs.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message