From owner-freebsd-java@FreeBSD.ORG Wed Feb 25 09:13:42 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 730961065689 for ; Wed, 25 Feb 2009 09:13:42 +0000 (UTC) (envelope-from daichi@ongs.co.jp) Received: from natial.ongs.co.jp (natial.ongs.co.jp [202.216.246.90]) by mx1.freebsd.org (Postfix) with ESMTP id 3D2B68FC1C for ; Wed, 25 Feb 2009 09:13:42 +0000 (UTC) (envelope-from daichi@ongs.co.jp) Received: from parancell.ongs.co.jp (dullmdaler.ongs.co.jp [202.216.246.94]) by natial.ongs.co.jp (Postfix) with ESMTPSA id 5D851125422; Wed, 25 Feb 2009 18:13:41 +0900 (JST) Message-ID: <49A50BC5.5080009@ongs.co.jp> Date: Wed, 25 Feb 2009 18:13:41 +0900 From: Daichi GOTO User-Agent: Thunderbird 2.0.0.19 (X11/20090201) MIME-Version: 1.0 To: =?UTF-8?B?6JGJ5L2z5aiBIEppYXdlaSBZZQ==?= References: <49A4B04B.6070908@ongs.co.jp> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-java@freebsd.org Subject: OpenJDK6 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: Wed, 25 Feb 2009 09:13:42 -0000 Ooops so sorry, subject was mistaken. s/OpenJDK7/OpenJDK6/ 葉佳威 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 > > -- > "If it looks like a duck, walks like a duck, and quacks like a duck, > then to the end user it's a duck, and end users have made it pretty > clear they want a duck; whether the duck drinks hot chocolate or coffee > is irrelevant." -- Daichi GOTO, http://people.freebsd.org/~daichi