Professional Documents
Culture Documents
유닉스 상의 한글 처리
유닉스 상의 한글 처리
\| -
/u , junker@jazz.snu.ac.kr
1998 2 8
0-0
KLUG
'
W_
t
$
1. \
(a)
(b)
v
2.
(a) t
(b) Xt
(c)
& %
(d)
3.
4.
/u (junker@jazz.snu.ac.kr ) 1
KLUG
'
W_
\
$
vC(I18N)
InternationalizatioN
!q v; sq,
ISO, ANSI-C, POSIX.1, POSIX.2, X/Open
locale, Netscape
(L10N)
& %
LocalizatioN
!q "A v;, sq, A
(sq) P
d
hanterm, hanemacs
/u (junker@jazz.snu.ac.kr ) 2
KLUG
'
W_
\ (2)
$
locale
q
@A sq E. sq, ,
A j.
ANSI C: setlocale() A
E LANGY LC *
vq ; LANG=ko KR.EUC
LANG=ko_KR.EUC
& %
1: LANGE
/u (junker@jazz.snu.ac.kr ) 3
KLUG
'
W_
$
; V
v()
U Y S
V(`, , )
: vq - (e.g. GNU-NLS), t u #
/u
& W E, C P
; @b
(junker@jazz.snu.ac.kr )
%
4
KLUG
'
W_
v
$
{ Kt v
t ;
(KSC5601, EUC-KR) P
ISO-2022-KR: ` p P
. KSC5601 Z
v
& %
http://www.unicode.org
ISO/IEC 10646-1 . 16!.
S 11172 ? j
Windows NT, Java#t
/u (junker@jazz.snu.ac.kr ) 5
KLUG
'
W_
$
!
yG - q:
PC - han
X
X11R5 vC
CW
HanX - L10N hack!
(euc-kr); # E
vC Y M
& %
Dynamic HanX?
(X Input Method) - KIMS, hanIM,
/u (junker@jazz.snu.ac.kr ) 6
KLUG
'
W_
- Intro
$
A
# vu &
0t
j !
!
PostScript
W sq
& %
Adobe Corp.
stack-based, postfix
$
yGY
hscreen
HAN - KON(Kanji ON console) :
X
& %
8 t
A q
Fontset: vC
( j)
!(bdf)Y Zx(Type1, Speedo)
/u (junker@jazz.snu.ac.kr ) 8
KLUG
'
W_
X
$
X11R6 - XOM(X Output Method)
X11R5 $ Fontset
XIMY a: G
q
< I 9 vC/ qb
hanterm
S,
l! P
:
, S, UTF-8
& %
hanemacs
P
;$ :
/u (junker@jazz.snu.ac.kr ) 9
KLUG
'
W_
$
]
4 E,
: P
{
@
X11
): /
& %
XPRINT(X11R6
8 Y X: ! P
/u (junker@jazz.snu.ac.kr ) 10
KLUG
'
W_
j!!
$
Type 1
G - 256
Type 0 Composite(8/8) - 2! . ;
Type 1 Font
A B C D E F G H I J K
... 65 66 67 68 69 70 71 72 73 74 75 ... 256
& %
0xBE
2: Type 1Y Type 0
/u (junker@jazz.snu.ac.kr ) 11
KLUG
'
W_
$
j!!
\
E Type 0 Composite(8/8 mapping)
E 0
hpscat: S/Type 0
nh2ps: HLaTeX/Type 0
h2ps: ncode Type 1
& %
Type 0 ; ;$
# W
T
/u (junker@jazz.snu.ac.kr ) 12
KLUG
'
W_
CID-Keyed Font
$
/u
& 3: OCF(Original Composite Font) CID-Keyed Font
(junker@jazz.snu.ac.kr )
%
13
KLUG
'
W_
CMAP File
CIDFont File
$
CharCode CID Number
Code <a1a1> 833
= B0A2 <a1a2> 694
1929
....
<b0a1> 1928
<b0a2> 1929
<b0a3> 1930
4: CID-Keyed Font uS
CMap: EUC-KR, KSC5601-1992(S), ISO-2022-KR, , UTF-8, ...
& %
C CIDFont
, CMap Adobe; CW
Munhwa Wq - Ghostscriptt P
;
EUC-KR CMap P
E Type 0 OCF
P
A: - . ) Batang-Medium-KSC-EUC-H
/u (junker@jazz.snu.ac.kr ) 14
KLUG
'
W_
TeX
$
? : METAFONT P
- 256 C
hTeXp/hLaTeXp
Y
KAIST
/# TeXt
9
C - pk j
-
HLaTeX
& %
a A;
LaTeX
Free LaTeXC( , )
/u (junker@jazz.snu.ac.kr ) 15
KLUG
'
W_
!
$
hpscat
P
ncode Type 1
; L U PSt ;
;k
& %
nh2ps
HLaTeX PS P
;
Type 0 OCF
t qb - ghostscript
/u (junker@jazz.snu.ac.kr ) 16
KLUG
'
W_
ncode S
$
/u
&
(junker@jazz.snu.ac.kr )
5: n3f Y ncodev() SYA
%
17
KLUG
'
W_
HLaTeX Type 1
$
6: HangulMyoungjoA-Regular
/u
& 256B 10 ( 2350)
( , , ) ?
" S
(KSC5601t; I)
(junker@jazz.snu.ac.kr )
%
18
KLUG
'
W_
Netscape WWWt
$
. \
t 8 ;
Print Save as... Postscript
3.0 MU
& %
Save as... PostScript
Y u M(? f)
;
U ;
/u (junker@jazz.snu.ac.kr ) 19
KLUG
'
W_
Netscape S
$
P
;
nhpf
Save as E ? P
;
Print
n3f P
- ;
nhppf
& %
Save as E ? P
;
Print
HLaTeX P
KSC5601 ? P
;
/u (junker@jazz.snu.ac.kr ) 20
KLUG
'
W_
$
<b> </b>
9t
0 708.7 moveto 12 f1
(\307\321\261\333\300\272) show
45.4 708.7 moveto 12 f0
Save as E ( \276\306\270\247\264\344\264\331) show
0 749.7 moveto 12 of
& %
<c7d1b1dbc0ba> show
36 749.7 moveto 12 f0
( ) show
12 of
/u (junker@jazz.snu.ac.kr ) 21
KLUG
'
W_
$
Ghostscript
Type 0 OCF T
CID-Keyed Font? - gs5
gs-hfftype
W ! 9 P
q
FreeType Project
!
gs-kfftype(
t
P
) Type 0 OCF(euc-kr.) q
# G
. (S, #)
& %
-
/u (junker@jazz.snu.ac.kr ) 22
KLUG
'
W_
$
W
T - q
X11 - mincho, gothic, j , #
Zx - ked (hpscat), HLaTeX, !
?j j G - <S A XL
# KSC5601, S T
j ?j T(italic, bold, oblique...) - q
@
& %
W ;( Z )
P
- u
/u (junker@jazz.snu.ac.kr ) 23
KLUG
'
W_
W C
$
X11
E `
;(xfed, xmbdfed #)
bdf
SERI - HLaTeX PS P
Zx
Type 1 : M
& %
Type 0 8 " u# PS
HLaTeX PS - , #
/u (junker@jazz.snu.ac.kr ) 24
KLUG
'
W_
u
$
FreeType Project -!
j P
;
ttf2bdf-k - ttf bdf ;
95
3? - (6
]
!
#
Type 0 OCF, CID-Keyed Font, HLaTeX, n3f, ked,
P
% - q
b
& %
gs-hfftype ` 3 !
P
y
CID-Keyed Font P
/u (junker@jazz.snu.ac.kr ) 25
KLUG
'
W_
CW &X ;
UNIX t
OS P
t qb
& %
&j ; ,
OSt P
, ; #
!
- Bitstream Cyberbit; :
,
# C
4
/u (junker@jazz.snu.ac.kr ) 26
KLUG
'
W_
X-Server
$
libfont.a X Client
(local)
Network
X Font Server
X Client (xfs)
(remote)
& %
X Client libfont.a
(local)
7: libfont.a t
/u (junker@jazz.snu.ac.kr ) 27
KLUG
'
W_
$
V - `, , #t .
` - helvis, nvi-m17n, emacs 20, pico...
t uS - SGML-Tools(u Linuxdoc-SGML), KLDP t j!(?)
- bash, tcsh /- C
GNU-NLS - - vC( vq 3 )
\
/ W(?) !q - HWP/X, KIMS, hanIM, ...
& %
N M " u...
/u (junker@jazz.snu.ac.kr ) 28
KLUG
'
W_
$
Viva Free Unix(Linux, FreeBSD, OpenBSD, NetBSD)!
: {
q M - :
vs vC C
R.T.F.M!
Y (?)
/u
&
(junker@jazz.snu.ac.kr )
%
29