From owner-freebsd-java@FreeBSD.ORG Tue Mar 3 21:18:27 2009 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 27BB810656C6 for ; Tue, 3 Mar 2009 21:18:27 +0000 (UTC) (envelope-from brian@experts-exchange.com) Received: from mail.experts-exchange.com (mail.experts-exchange.com [64.156.132.251]) by mx1.freebsd.org (Postfix) with ESMTP id 0DED48FC1D for ; Tue, 3 Mar 2009 21:18:26 +0000 (UTC) (envelope-from brian@experts-exchange.com) Received: from [192.168.103.26] (unknown [72.29.180.81]) by mail.experts-exchange.com (Postfix) with ESMTP id EF1F64A30980; Tue, 3 Mar 2009 12:35:15 -0800 (PST) Message-ID: <49AD9EA6.7070901@experts-exchange.com> Date: Tue, 03 Mar 2009 13:18:30 -0800 From: Brian Gardner User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: Daichi GOTO References: <49A4B04B.6070908@ongs.co.jp> <49A4CD5A.9060600@ongs.co.jp> <20090226.210622.41634347.toshi@ruby.ocn.ne.jp> <49A7596E.301@ongs.co.jp> In-Reply-To: <49A7596E.301@ongs.co.jp> Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit Cc: SAITOU Toshihide , leafy7382@gmail.com, freebsd-java@freebsd.org Subject: Re: OpenJDK7 and NetBeans: Who can use non-English fonts on NetBeans? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Mar 2009 21:18:27 -0000 Hum, I've seen similar issues occasionally running java/jdk16. Is this error reproducable? If I can reproduce it, I should be able to debug fix it. Otherwise I'll need debugging information. Perhaps I should create and publish a process for debugging core dumps, including building debugging versions of binaries and extracting stack from core dumps. Daichi GOTO wrote: > And after changed netbeans.conf to use OpenJDK6, > new show stopper come, printing included error log. > > Do you have any ideas? > > SAITOU Toshihide wrote: > >> In message: <49A4CD5A.9060600@ongs.co.jp> >> Daichi GOTO writes: >> >>> 葉佳威 Jiawei Ye wrote: >>> >>>> On Wed, Feb 25, 2009 at 10:43 AM, Daichi GOTO > wrote: >>>> Hi Java guys, >>>> Who can use non-English fonts on NetBeans with OpenJDK6? >>>> I have tried some methods to use Japanese fonts with that, >>>> but I have all faild :-( >>>> If you have any ideas, please teach me. Thanks >>>> -- Daichi GOTO, http://people.freebsd.org/~daichi >>>> >>>> One evil trick is to go to your ${JAVA_HOME}/jre/lib/fonts and put a "fallback" directory link to your actual font dir. >>>> ex. on my system >>>> lrwxr-xr-x 1 root wheel 34 8 29 11:56 fallback -> /usr/local/lib/X11/fonts/truetype/ >>>> This gives me much better Chinese fonts (I put my Mac fonts in there). >>>> HTH, >>>> Jiawei >>>> >>> Yeah, above method is workable with JDK16 but not OpenJDK6 :-( >>> >>> Did you get Chinese fonts with OpenJDK6 and NetBeans? I can >>> use Japanese fonts with some demo applicatins within OpenJDK6, >>> but cannot get that with NetBeans65. >>> >> First I change the netbeans_jdkhome in the >> /usr/local/netbeans65/etc/netbeans.conf as following: >> >> netbeans_jdkhome="/usr/local/openjdk6" >> >> and also prepare a fontconfig.properties at this place: >> >> /usr/local/openjdk6/jre/lib/fontconfig.properties >> >> then japanese font is fine same as before using the jdk16. >> >> for example (it seems that the dialog.plain.japanese-x0208 >> was mainly used in my NB settings): >> >> #dialog.plain.japanese-x0208=-kochi-gothic-medium-r-normal--*-%d-*-*-c-*-jisx0208.1983-0 >> dialog.plain.japanese-x0208=-ricoh-hgheiseikakugothictaiw3-medium-r-normal--*-%d-*-*-c-*-jisx0208.1983-0 >> >> --- >> SAITOU >> > >