Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Feb 2009 11:59:11 -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>, =?utf-8?q?=E8=91=89=E4=BD=B3=E5=A8=81_Jiawei_Ye?= <leafy7382@gmail.com>
Subject:   Re: Japanese font conf for JDK16 to use IPA font
Message-ID:  <200902271159.15176.jkim@FreeBSD.org>
In-Reply-To: <49A77F4A.2080508@ongs.co.jp>
References:  <49A77F4A.2080508@ongs.co.jp>

next in thread | previous in thread | raw e-mail | index | archive | help

--Boundary-00=_ivBqJEiwo1thwGd
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

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

FYI...

Jung-uk Kim

--Boundary-00=_ivBqJEiwo1thwGd
Content-Type: text/plain; charset="iso-8859-1";
	name="fontconfig.properties.src"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename="fontconfig.properties.src"

# @(#)bsd.fontconfig.properties	1.2 03/10/28
#
# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
#

# Version

version=1

# Component Font Mappings

allfonts.lucida=-b&h-lucidasans-medium-r-normal-sans-*-%d-*-*-p-*-iso8859-1

serif.plain.korean=-misc-UnBatang-medium-r-normal--*-%d-*-*-c-*-iso10646-1
serif.plain.latin-1=-b&h-lucidabright-medium-r-normal--*-%d-*-*-p-*-iso8859-1

serif.bold.korean=-misc-UnBatang-medium-r-normal--*-%d-*-*-c-*-iso10646-1
serif.bold.latin-1=-b&h-lucidabright-demibold-r-normal--*-%d-*-*-p-*-iso8859-1

serif.italic.korean=-misc-UnBatang-medium-r-normal--*-%d-*-*-c-*-iso10646-1
serif.italic.latin-1=-b&h-lucidabright-medium-i-normal--*-%d-*-*-p-*-iso8859-1

serif.bolditalic.korean=-misc-UnBatang-medium-r-normal--*-%d-*-*-c-*-iso10646-1
serif.bolditalic.latin-1=-b&h-lucidabright-demibold-i-normal--*-%d-*-*-p-*-iso8859-1

sansserif.plain.korean=-misc-UnDotum-medium-r-normal--*-%d-*-*-c-*-iso10646-1
sansserif.plain.latin-1=-b&h-lucidasans-medium-r-normal-sans-*-%d-*-*-p-*-iso8859-1

sansserif.bold.korean=-misc-UnDotum-medium-r-normal--*-%d-*-*-c-*-iso10646-1
sansserif.bold.latin-1=-b&h-lucidasans-bold-r-normal-sans-*-%d-*-*-p-*-iso8859-1

sansserif.italic.korean=-misc-UnDotum-medium-r-normal--*-%d-*-*-c-*-iso10646-1
sansserif.italic.latin-1=-b&h-lucidasans-medium-i-normal-sans-*-%d-*-*-p-*-iso8859-1

sansserif.bolditalic.korean=-misc-UnDotum-medium-r-normal--*-%d-*-*-c-*-iso10646-1
sansserif.bolditalic.latin-1=-b&h-lucidasans-bold-i-normal-sans-*-%d-*-*-p-*-iso8859-1

monospaced.plain.korean=-misc-UnBatang-medium-r-normal--*-%d-*-*-c-*-iso10646-1
monospaced.plain.latin-1=-b&h-lucidatypewriter-medium-r-normal-sans-*-%d-*-*-m-*-iso8859-1

monospaced.bold.korean=-misc-UnBatang-medium-r-normal--*-%d-*-*-c-*-iso10646-1
monospaced.bold.latin-1=-b&h-lucidatypewriter-bold-r-normal-sans-*-%d-*-*-m-*-iso8859-1

monospaced.italic.korean=-misc-UnBatang-medium-r-normal--*-%d-*-*-c-*-iso10646-1
monospaced.italic.latin-1=-b&h-lucidatypewriter-medium-i-normal-sans-*-%d-*-*-m-*-iso8859-1

monospaced.bolditalic.korean=-misc-UnBatang-medium-r-normal--*-%d-*-*-c-*-iso10646-1
monospaced.bolditalic.latin-1=-b&h-lucidatypewriter-bold-i-normal-sans-*-%d-*-*-m-*-iso8859-1

dialog.plain.korean=-misc-UnDotum-medium-r-normal--*-%d-*-*-c-*-iso10646-1
dialog.plain.latin-1=-b&h-lucidasans-medium-r-normal-sans-*-%d-*-*-p-*-iso8859-1

dialog.bold.korean=-misc-UnDotum-medium-r-normal--*-%d-*-*-c-*-iso10646-1
dialog.bold.latin-1=-b&h-lucidasans-bold-r-normal-sans-*-%d-*-*-p-*-iso8859-1

dialog.italic.korean=-misc-UnDotum-medium-r-normal--*-%d-*-*-c-*-iso10646-1
dialog.italic.latin-1=-b&h-lucidasans-medium-i-normal-sans-*-%d-*-*-p-*-iso8859-1

dialog.bolditalic.korean=-misc-UnDotum-medium-r-normal--*-%d-*-*-c-*-iso10646-1
dialog.bolditalic.latin-1=-b&h-lucidasans-bold-i-normal-sans-*-%d-*-*-p-*-iso8859-1

dialoginput.plain.korean=-misc-UnBatang-medium-r-normal--*-%d-*-*-c-*-iso10646-1
dialoginput.plain.latin-1=-b&h-lucidatypewriter-medium-r-normal-sans-*-%d-*-*-m-*-iso8859-1

dialoginput.bold.korean=-misc-UnBatang-medium-r-normal--*-%d-*-*-c-*-iso10646-1
dialoginput.bold.latin-1=-b&h-lucidatypewriter-bold-r-normal-sans-*-%d-*-*-m-*-iso8859-1

dialoginput.italic.korean=-misc-UnBatang-medium-r-normal--*-%d-*-*-c-*-iso10646-1
dialoginput.italic.latin-1=-b&h-lucidatypewriter-medium-i-normal-sans-*-%d-*-*-m-*-iso8859-1

dialoginput.bolditalic.korean=-misc-UnBatang-medium-r-normal--*-%d-*-*-c-*-iso10646-1
dialoginput.bolditalic.latin-1=-b&h-lucidatypewriter-bold-i-normal-sans-*-%d-*-*-m-*-iso8859-1

# Search Sequences

sequence.allfonts=latin-1
sequence.allfonts.EUC-KR=latin-1,korean
sequence.fallback=lucida,korean

# Exclusion Ranges

# Font File Names

filename.-misc-UnBatang-medium-r-normal--*-%d-*-*-c-*-iso10646-1=/usr/local/lib/X11/fonts/TrueType/UnBatang.ttf
filename.-misc-UnDotum-medium-r-normal--*-%d-*-*-c-*-iso10646-1=/usr/local/lib/X11/fonts/TrueType/UnDotum.ttf

# AWT X11 font paths

awtfontpath.latin-1=/usr/local/lib/X11/fonts/Type1
awtfontpath.korean=/usr/local/lib/X11/fonts/TrueType

--Boundary-00=_ivBqJEiwo1thwGd--



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