Date: Wed, 21 Jun 2000 21:33:50 +0900 (JST) From: "Daichi T.GOTO" <daichi@ongs.net> To: freebsd-java@FreeBSD.ORG Subject: patchset9 test: Japanese Font Problem Message-ID: <84708005.961590830141.JavaMail.daichi@localhost>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?84708005.961590830141.JavaMail.daichi>
