Loading...

freebsd-java@freebsd.org

[Prev] Thread [Next]  |  [Prev] Date [Next]

Re: Japanese font conf for JDK16 to use IPA font Jung-uk Kim Fri Feb 27 09:01:40 2009

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
# @(#)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
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to "[EMAIL PROTECTED]"