Date: Fri, 27 Feb 2009 15:10:54 -0500 From: Jung-uk Kim <jkim@FreeBSD.org> To: freebsd-java@freebsd.org Cc: NAKATA Maho <chat95@mac.com>, Daichi GOTO <daichi@ongs.co.jp>, java@freebsd.org, glewis@freebsd.org, SAITOU Toshihide <toshi@ruby.ocn.ne.jp>, ????????? Jiawei Ye <leafy7382@gmail.com> Subject: Re: Japanese font conf for JDK16 to use IPA font Message-ID: <200902271510.56365.jkim@FreeBSD.org> In-Reply-To: <20090227190138.GA24778@misty.eyesbeyond.com> References: <49A77F4A.2080508@ongs.co.jp> <200902271301.57014.jkim@FreeBSD.org> <20090227190138.GA24778@misty.eyesbeyond.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--Boundary-00=_QjEqJkYqskNW+hy Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline 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. /usr/share/fonts/chinese/TrueType/ukai.ttf /usr/share/fonts/chinese/TrueType/uming.ttf - The path has to be corrected. See chinese/CJKUnifonts. - We need Chinese Java users to confirm its usefulness. I am not qualified. ;-) 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. --Boundary-00=_QjEqJkYqskNW+hy Content-Type: text/plain; charset="iso-8859-1"; name="fontconfig.properties" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="fontconfig.properties" # # Copyright 2007 Sun Microsystems, Inc. All Rights Reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License version 2 only, as # published by the Free Software Foundation. Sun designates this # particular file as subject to the "Classpath" exception as provided # by Sun in the LICENSE file that accompanied this code. # # This code is distributed in the hope that it will be useful, but WITHOUT # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License # version 2 for more details (a copy is included in the LICENSE file that # accompanied this code). # # You should have received a copy of the GNU General Public License version # 2 along with this work; if not, write to the Free Software Foundation, # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. # # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, # CA 95054 USA or visit www.sun.com if you need additional information or # have any questions. # # Version # Uses Fedora Core 6 fonts and file paths. version=1 # Component Font Mappings dialog.plain.latin-1=DejaVu LGC Sans dialog.plain.japanese=IPA UIGothic dialog.plain.korean=UnDotum dialog.plain.chinese-big5=AR PL ShanHeiSun Uni dialog.plain.chinese-gb18030=AR PL ShanHeiSun Uni dialog.bold.latin-1=DejaVu LGC Sans Bold dialog.bold.japanese=IPA UIGothic dialog.bold.korean=UnDotum dialog.bold.chinese-big5=AR PL ShanHeiSun Uni dialog.bold.chinese-gb18030=AR PL ShanHeiSun Uni dialog.italic.latin-1=DejaVu LGC Sans Oblique dialog.italic.japanese=IPA UIGothic dialog.italic.korean=UnDotum dialog.italic.chinese-big5=AR PL ShanHeiSun Uni dialog.italic.chinese-gb18030=AR PL ShanHeiSun Uni dialog.bolditalic.latin-1=DejaVu LGC Sans Bold Oblique dialog.bolditalic.japanese=IPA UIGothic dialog.bolditalic.korean=UnDotum dialog.bolditalic.chinese-big5=AR PL ShanHeiSun Uni dialog.bolditalic.chinese-gb18030=AR PL ShanHeiSun Uni sansserif.plain.latin-1=DejaVu LGC Sans sansserif.plain.japanese=IPA PGothic sansserif.plain.korean=UnDotum sansserif.plain.chinese-big5=AR PL ShanHeiSun Uni sansserif.plain.chinese-gb18030=AR PL ShanHeiSun Uni sansserif.bold.latin-1=DejaVu LGC Sans Bold sansserif.bold.japanese=IPA PGothic sansserif.bold.korean=UnDotum sansserif.bold.chinese-big5=AR PL ShanHeiSun Uni sansserif.bold.chinese-gb18030=AR PL ShanHeiSun Uni sansserif.italic.latin-1=DejaVu LGC Sans Oblique sansserif.italic.japanese=IPA PGothic sansserif.italic.korean=UnDotum sansserif.italic.chinese-big5=AR PL ShanHeiSun Uni sansserif.italic.chinese-gb18030=AR PL ShanHeiSun Uni sansserif.bolditalic.latin-1=DejaVu LGC Sans Bold Oblique sansserif.bolditalic.japanese=IPA PGothic sansserif.bolditalic.korean=UnDotum sansserif.bolditalic.chinese-big5=AR PL ShanHeiSun Uni sansserif.bolditalic.chinese-gb18030=AR PL ShanHeiSun Uni serif.plain.latin-1=DejaVu LGC Serif serif.plain.japanese=IPA PMincho serif.plain.korean=UnBatang serif.plain.chinese-big5=AR PL ZenKai Uni serif.plain.chinese-gb18030=AR PL ZenKai Uni serif.bold.latin-1=DejaVu LGC Serif Bold serif.bold.japanese=IPA PMincho serif.bold.korean=UnBatang serif.bold.chinese-big5=AR PL ZenKai Uni serif.bold.chinese-gb18030=AR PL ZenKai Uni serif.italic.latin-1=DejaVu LGC Serif Oblique serif.italic.japanese=IPA PMincho serif.italic.korean=UnBatang serif.italic.chinese-big5=AR PL ZenKai Uni serif.italic.chinese-gb18030=AR PL ZenKai Uni serif.bolditalic.latin-1=DejaVu LGC Serif Bold Oblique serif.bolditalic.japanese=IPA PMincho serif.bolditalic.korean=UnBatang serif.bolditalic.chinese-big5=AR PL ZenKai Uni serif.bolditalic.chinese-gb18030=AR PL ZenKai Uni monospaced.plain.latin-1=DejaVu LGC Sans Mono monospaced.plain.japanese=IPA Gothic monospaced.plain.korean=UnDotum monospaced.plain.chinese-big5=AR PL ShanHeiSun Uni monospaced.plain.chinese-gb18030=AR PL ShanHeiSun Uni monospaced.bold.latin-1=DejaVu LGC Sans Mono Bold monospaced.bold.japanese=IPA Gothic monospaced.bold.korean=UnDotum monospaced.bold.chinese-big5=AR PL ShanHeiSun Uni monospaced.bold.chinese-gb18030=AR PL ShanHeiSun Uni monospaced.italic.latin-1=DejaVu LGC Sans Mono Oblique monospaced.italic.japanese=IPA Gothic monospaced.italic.korean=UnDotum monospaced.italic.chinese-big5=AR PL ShanHeiSun Uni monospaced.italic.chinese-gb18030=AR PL ShanHeiSun Uni monospaced.bolditalic.latin-1=DejaVu LGC Sans Mono Bold Oblique monospaced.bolditalic.japanese=IPA Gothic monospaced.bolditalic.korean=UnDotum monospaced.bolditalic.chinese-big5=AR PL ShanHeiSun Uni monospaced.bolditalic.chinese-gb18030=AR PL ShanHeiSun Uni dialoginput.plain.latin-1=DejaVu LGC Sans Mono dialoginput.plain.japanese=IPA UIGothic dialoginput.plain.korean=UnDotum dialoginput.plain.chinese-big5=AR PL ShanHeiSun Uni dialoginput.plain.chinese-gb18030=AR PL ShanHeiSun Uni dialoginput.bold.latin-1=DejaVu LGC Sans Mono Bold dialoginput.bold.japanese=IPA UIGothic dialoginput.bold.korean=UnDotum dialoginput.bold.chinese-big5=AR PL ShanHeiSun Uni dialoginput.bold.chinese-gb18030=AR PL ShanHeiSun Uni dialoginput.italic.latin-1=DejaVu LGC Sans Mono Oblique dialoginput.italic.japanese=IPA UIGothic dialoginput.italic.korean=UnDotum dialoginput.italic.chinese-big5=AR PL ShanHeiSun Uni dialoginput.italic.chinese-gb18030=AR PL ShanHeiSun Uni dialoginput.bolditalic.latin-1=DejaVu LGC Sans Mono Bold Oblique dialoginput.bolditalic.japanese=IPA UIGothic dialoginput.bolditalic.korean=UnDotum dialoginput.bolditalic.chinese-big5=AR PL ShanHeiSun Uni dialoginput.bolditalic.chinese-gb18030=AR PL ShanHeiSun Uni # Search Sequences sequence.allfonts=latin-1 sequence.allfonts.Big5=chinese-big5,latin-1 sequence.allfonts.x-euc-jp-bsd=japanese,latin-1 sequence.allfonts.EUC-KR=korean,latin-1 sequence.allfonts.GB18030=chinese-gb18030,latin-1 sequence.fallback=chinese-big5,chinese-gb18030,japanese,korean # Font File Names filename.DejaVu_LGC_Sans=/usr/share/fonts/dejavu-lgc/DejaVuLGCSans.ttf filename.DejaVu_LGC_Sans_Bold=/usr/share/fonts/dejavu-lgc/DejaVuLGCSans-Bold.ttf filename.DejaVu_LGC_Sans_Oblique=/usr/share/fonts/dejavu-lgc/DejaVuLGCSans-Oblique.ttf filename.DejaVu_LGC_Sans_Bold_Oblique=/usr/share/fonts/dejavu-lgc/DejaVuLGCSans-BoldOblique.ttf filename.DejaVu_LGC_Sans_Mono=/usr/share/fonts/dejavu-lgc/DejaVuLGCSansMono.ttf filename.DejaVu_LGC_Sans_Mono_Bold=/usr/share/fonts/dejavu-lgc/DejaVuLGCSansMono-Bold.ttf filename.DejaVu_LGC_Sans_Mono_Oblique=/usr/share/fonts/dejavu-lgc/DejaVuLGCSansMono-Oblique.ttf filename.DejaVu_LGC_Sans_Mono_Bold_Oblique=/usr/share/fonts/dejavu-lgc/DejaVuLGCSansMono-BoldOblique.ttf filename.DejaVu_LGC_Serif=/usr/share/fonts/dejavu-lgc/DejaVuLGCSerif.ttf filename.DejaVu_LGC_Serif_Bold=/usr/share/fonts/dejavu-lgc/DejaVuLGCSerif-Bold.ttf filename.DejaVu_LGC_Serif_Oblique=/usr/share/fonts/dejavu-lgc/DejaVuLGCSerif-Oblique.ttf filename.DejaVu_LGC_Serif_Bold_Oblique=/usr/share/fonts/dejavu-lgc/DejaVuLGCSerif-BoldOblique.ttf filename.IPA_Gothic=/usr/local/share/ipa-ttfonts/fonts/ipag.ttf filename.IPA_PGothic=/usr/local/share/ipa-ttfonts/fonts/ipagp.ttf filename.IPA_UIGothic=/usr/local/share/ipa-ttfonts/fonts/ipagui.ttf filename.IPA_Mincho=/usr/local/share/ipa-ttfonts/fonts/ipam.ttf filename.IPA_PMincho=/usr/local/share/ipa-ttfonts/fonts/ipamp.ttf filename.Sazanami_Gothic=/usr/share/fonts/japanese/TrueType/sazanami-gothic.ttf filename.Sazanami_Mincho=/usr/share/fonts/japanese/TrueType/sazanami-mincho.ttf filename.AR_PL_ShanHeiSun_Uni=/usr/share/fonts/chinese/TrueType/uming.ttf filename.AR_PL_ZenKai_Uni=/usr/share/fonts/chinese/TrueType/ukai.ttf filename.UnDotum=/usr/local/lib/X11/fonts/TrueType/UnDotum.ttf filename.UnBatang=/usr/local/lib/X11/fonts/TrueType/UnBatang.ttf --Boundary-00=_QjEqJkYqskNW+hy--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902271510.56365.jkim>