From owner-FreeBSD-tech-jp@jp.freebsd.org  Mon Jan 12 11:47:58 1998
Received: by jaz.jp.freebsd.org (8.8.8+3.0Wbeta7/8.7.3) id LAA06755
	Mon, 12 Jan 1998 11:47:58 +0900 (JST)
Received: by jaz.jp.freebsd.org (8.8.8+3.0Wbeta7/8.7.3) with ESMTP id LAA06747
	for <FreeBSD-tech-jp@jp.freebsd.org>; Mon, 12 Jan 1998 11:47:56 +0900 (JST)
Received: (from junker@localhost)
	by jazz.snu.ac.kr (8.8.8/8.8.8) id LAA03323;
	Mon, 12 Jan 1998 11:47:42 +0900 (KST)
To: FreeBSD-tech-jp@jp.freebsd.org
References: <199801100311.MAA05398@stone.astec.co.jp> <19980110142513D.tshiozak@makino.ise.chuo-u.ac.jp>
From: junker@jazz.snu.ac.kr (Choi, Jun Ho)
Date: 12 Jan 1998 11:47:42 +0900
In-Reply-To: SHIOZAKI Takuya's message of Sat, 10 Jan 1998 14:25:13 +0900
Message-ID: <wkg1mul86p.fsf@jazz.snu.ac.kr>
Lines: 59
X-Mailer: Gnus v5.5/Emacs 20.2
Reply-To: FreeBSD-tech-jp@jp.freebsd.org
Precedence: bulk
X-Distribute: distribute [version 2.1 (Alpha) patchlevel=24]
X-Sequence: FreeBSD-tech-jp 1079
Subject: [FreeBSD-tech-jp 1079] Re: X Font Server with VFlib
Errors-To: owner-FreeBSD-tech-jp@jp.freebsd.org
Sender: owner-FreeBSD-tech-jp@jp.freebsd.org

SHIOZAKI Takuya (=?iso-2022-jp?B?GyRCMXY6akJzTGkbKEI=?=) <tshiozak@makino.ise.chuo-u.ac.jp> writes:

> $B1v:j!wCfBg$G$9!#(B

Hi... I am a CS master course student in Korea(I am Korean).

> >   VFlib $B$N(B TrueType $B%5%]!<%H$O$I$&$bIJ<A$,$h$/$J$$$N$G2?$H$+$7$h$&$H@5(B
> > $B7n$$$m$$$mD4$Y$F$^$7$?!#(BVFlib $B$K(B FreeType $B$rAH$_9~$s$@$b$N$b$"$k$h$&$G(B
> > $B$9$,!"(BVFlib $B$r7PM3$9$k$+$.$j$OF|K\8l$7$+;H$($^$;$s$7$$$m$$$m<+M3EY$,Dc(B
> > $B$$$N$G!"(BX $B$N%=!<%9$K$8$+$K(B TrueType $B$rJ|$j9~$`J}8~$G9M$($F$$$^$9!#(B
> >   $BEvA3!"F|K\8l$@$1$8$c$J$/$FCf9q8l!"4Z9q8l!"%h!<%m%C%Q$NMM!9$JJ8;z$b%5(B
> > $B%]!<%H$7$?$$$H$3$m$G$9!#(B

It is a good thing for us, too.

> $B$b$&0l$D$NJ}8~@-$H$7$F$O!"(BFreeType $B$N(B API $B$rD>@\C!$/$h$&$J%3!<%I$r(B X $B$N(B
> libfont.a $B$KDI2C$9$k$H$$$&J}K!$,9M$($i$l$^$9!#$3$NJ}K!$@$H!"(B
>   1. $B?7$?$K(B TTF $B$N%i%9%?%i%$%:$N%3!<%I$r5/$3$9I,MW$,$J$$(B
>   2. VFlib $B$h$j$bNI9%$J2h<A$N%S%C%H%^%C%W$,F@$i$l$k(B
>   3. $B$?$V$s!"B?8@8lBP1~2DG=(B
>      ($B>/$J$/$H$b!"(B"Support for all character mappings",
>       "Composite glyphs" $BBP1~$H$$$&Gd$jJ86g$,8+$i$l$^$9$N$G(B)

For Korean TrueType fonts, it works nice. I modified ttf2bdf(included in
FreeType library) to work with some of Korean TrueType fonts(mostly MS
stuff), so it can generate bdf format from TrueType fonts. We don't
have a good library like VFlib(I like that much!), it is a convenient
mean to use several fonts in X. (and it may be modified to generate
Japanese bdf font with some patch I think...)

For ttf2bdf-k, Visit http://jazz.snu.ac.kr/~junker/work/ttf2bdf-k/
(But this page is written in Korean)

Mark Leisher(author of ttf2bdf) accepted my idea(after ttf2bdf 1.4),
and generalized it so that ttf2bdf can generate from any other
Unicoded TTF files(he separated Unicode -> Language-spectific encoding
map file). But I didn't tested it, so I wonder whether it works in
East-Asian fonts.

Korean TrueType fonts used "Composite Glyph" feature severely in most
of Hangul glyphs(they "composite" Hangul characters from Hangul
glyphs) , so VFlib's TT module is almost useless.

So, I modified VFlib's FreeType module to work with Korean(change
Unicode 2.0 -> JIS mapping table to Unicode 2.0 -> KSC). I works good.
(With this hack, I can manage Japanese(VFlib's TT module) and
Korean(VFlib's FreeType module) PostScript file simultaneously!)

$B$5$h$J$i!#(B

p.s. I have a question. I use GNUS in Emacs 20.2 for read/write
Korean mail(and for Japanese Mailing list - freebsd-tech-jp), I
suffered from "=?iso-2022-jp?B?..." encoding in header. I want to see
Japanese header correctly... How can I resolve it?

-- 
 --Cool FreeBSD!-----MSX Forever!-----J.U.N.K.E.R/Beat Snatchers!---
 Choi, Jun Ho <junker@jazz.snu.ac.kr>  http://jazz.snu.ac.kr/~junker
 Distributed Computing System Lab,CS Dept.,Seoul National Univ., ROK
