Japanese font conf for JDK16 to use IPA font
Daichi GOTO
daichi at ongs.co.jp
Mon Mar 2 01:16:27 PST 2009
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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-java
> To unsubscribe, send any mail to "freebsd-java-unsubscribe at freebsd.org"
--
Daichi GOTO, http://people.freebsd.org/~daichi
More information about the freebsd-java
mailing list