Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Feb 2009 18:13:41 +0900
From:      Daichi GOTO <daichi@ongs.co.jp>
To:        =?UTF-8?B?6JGJ5L2z5aiBIEppYXdlaSBZZQ==?= <leafy7382@gmail.com>
Cc:        freebsd-java@freebsd.org
Subject:   OpenJDK6 and NetBeans: Who can use non-English fonts on NetBeans?
Message-ID:  <49A50BC5.5080009@ongs.co.jp>
In-Reply-To: <c21e92e20902241905k53377448j4097c6baaf1ed098@mail.gmail.com>
References:  <49A4B04B.6070908@ongs.co.jp> <c21e92e20902241905k53377448j4097c6baaf1ed098@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Ooops so sorry, subject was mistaken.
s/OpenJDK7/OpenJDK6/

葉佳威 Jiawei Ye wrote:
> On Wed, Feb 25, 2009 at 10:43 AM, Daichi GOTO <daichi@ongs.co.jp 
> <mailto:daichi@ongs.co.jp>> 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
>     <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




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