From owner-freebsd-java@FreeBSD.ORG Mon Mar 2 09:16:27 2009 Return-Path: Delivered-To: java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 51622106564A; Mon, 2 Mar 2009 09:16:27 +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 DD24C8FC21; Mon, 2 Mar 2009 09:16:26 +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 455FA125422; Mon, 2 Mar 2009 18:16:25 +0900 (JST) Message-ID: <49ABA3E9.70102@ongs.co.jp> Date: Mon, 02 Mar 2009 18:16:25 +0900 From: Daichi GOTO User-Agent: Thunderbird 2.0.0.19 (X11/20090201) MIME-Version: 1.0 To: Jung-uk Kim References: <49A77F4A.2080508@ongs.co.jp> <200902271301.57014.jkim@FreeBSD.org> <20090227190138.GA24778@misty.eyesbeyond.com> <200902271510.56365.jkim@FreeBSD.org> In-Reply-To: <200902271510.56365.jkim@FreeBSD.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: NAKATA Maho , java@freebsd.org, glewis@freebsd.org, SAITOU Toshihide , ????????? Jiawei Ye , freebsd-java@freebsd.org Subject: Re: Japanese font conf for JDK16 to use IPA font 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: Mon, 02 Mar 2009 09:16:27 -0000 Jung-uk Kim wrote: > On Friday 27 February 2009 02:01 pm, Greg Lewis wrote: >> On Fri, Feb 27, 2009 at 01:01:31PM -0500, Jung-uk Kim wrote: >>> On Friday 27 February 2009 11:59 am, Jung-uk Kim wrote: >>>> On Friday 27 February 2009 12:51 am, Daichi GOTO wrote: >>>>> Hi greg :) >>>>> >>>>> How about to deploy or integrate included >>>>> fontconfig.properties file to >>>>> /usr/local/jdk1.6.0/jre/lib/fontconfig.properties or >>>>> /usr/local/jdk1.6.0/jre/lib/fontconfig.properties.src. >>>>> >>>>> I have known some Japanese java developers have been giving >>>>> up to use FreeBSD and Java as their default development >>>>> environment because FreeBSD JDK16 default configurations >>>>> lacks of proper Japanese font setting. >>>>> >>>>> Right now, IPA font(japanese/ipa-ttfonts) is proper high >>>>> quality font as Japanese font. To enable that font as default >>>>> font makes a lot of sense. >>>>> >>>>> I have checked included one with JDK16 and OpenJDK6, that >>>>> looks like working well. >>>> I have been using the attached properties for korean fonts for >>>> many years, which uses korean/unfonts-ttf. Baekmuk fonts in >>>> your properties are unmaintained and obsolete. Un-series fonts >>>> are de facto standard for korean FOSS projects these days. One >>>> of the reasons is it works pretty well with Freetype2. I >>>> believe many FOSS projects still use Baekmuk because Redhat >>>> does. :-( >>>> >>>> https://bugzilla.redhat.com/show_bug.cgi?id=112877 >>> It is little OT but I found Fedora project approved Un-series >>> fonts as the next default korean fonts: >>> >>> http://fedoraproject.org/wiki/UN_fonts >>> >>> "Fontconfig has been changed upstream to use UN as default Korean >>> font set instead of Baekmuk (current Fedora Korean font)." >>> >>> Yeah! >> So which Korean fonts should we be using? The new ones or the ones >> in the fontconfig.properties you sent? I'd like to merge those >> changes with Daichi-san's and get them both committed :). > > I merged them and attached (not tested). In fact, I thought about > doing something like this (i.e., converting Fedora font properties to > BSD-specific file) but I never committed it for few reasons. For > example, we do not have default fonts as Linux "distros" do (although > I agree that FreeBSD specific property file is good to have in the > ports but not on Mercurial). Also, I was concerned about package > dependencies. Maybe we can add a knob, e.g., WITH_CJK to include > properties if we just do this in the ports. Now, more specific > issues: > > # Uses Fedora Core 6 fonts and file paths. > > - Yeah, I know. :-( > > /usr/share/fonts/dejavu-lgc/DejaVuLGC*.ttf > > - Changing default Latin fonts is a POLA violation, I think. > - This is Fedora path and we don't have that in the ports[1]. > > /usr/share/fonts/japanese/TrueType/sazanami-*.ttf > > - The path has to be corrected. See japanese/sazanami-ttf. Really? Applications installed by Ports Collection should be deployed under /usr/local/ or user defined directory. Sazanami font real paths are: real files: /usr/local/share/sazanami-ttf/sazanami-gothic.ttf /usr/local/share/sazanami-ttf/sazanami-mincho.ttf symbolic links: /usr/local/share/fonts/TrueType/sazanami-gothic.ttf /usr/local/share/fonts/TrueType/sazanami-mincho.ttf > /usr/share/fonts/chinese/TrueType/ukai.ttf > /usr/share/fonts/chinese/TrueType/uming.ttf > > - The path has to be corrected. See chinese/CJKUnifonts. Same as above I guess, it will be under /usr/local, uh? > - We need Chinese Java users to confirm its usefulness. I am not > qualified. ;-) +1 :) > FYI, Fedora has font history here: > > http://fedoraproject.org/wiki/Fonts_inclusion_history > > Jung-uk Kim > > [1] We have x11-fonts/dejavu but DejaVu-LGC (a derivative of DejaVu > fonts) is not ported. If really needed, we can make a ports for it, > though. > > > ------------------------------------------------------------------------ > > _______________________________________________ > freebsd-java@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org" -- Daichi GOTO, http://people.freebsd.org/~daichi