Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Jun 2000 10:54:22 +0930
From:      Greg Lewis <glewis@trc.adelaide.edu.au>
To:        "Daichi T.GOTO" <daichi@ongs.net>
Cc:        freebsd-java@FreeBSD.ORG
Subject:   Re: patchset9 test: Japanese Font Problem
Message-ID:  <20000622105422.A26585@ares.trc.adelaide.edu.au>
In-Reply-To: <84708005.961590830141.JavaMail.daichi@localhost>; from daichi@ongs.net on Wed, Jun 21, 2000 at 09:33:50PM %2B0900
References:  <84708005.961590830141.JavaMail.daichi@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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