summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChoe Hwanjin <choe.hwanjin@gmail.com>2010-12-25 14:11:01 +0900
committerChoe Hwanjin <choe.hwanjin@gmail.com>2010-12-25 14:11:01 +0900
commit3e6acad2828bb336dd2465c675ffddba58ec7701 (patch)
tree80fd50025f462db0aaebdd12be5703e1daae96e3
parent7378687555c5b7bfba1147016c2db55ca0a459e8 (diff)
downloadlibhangul-3e6acad2828bb336dd2465c675ffddba58ec7701.tar.gz
옛이응이 이응으로 처리되는 부분 수정
http://www.unicode.org/Public/UNIDATA/NamesList.txt 파일의 내용을 이용해서 자모 조합 테이블을 생성한 결과에 문제가 있다. 위 파일에서는 U+11EC - U+11EF 부분의 이름을 옛이응으로 하지 않고 이응으로 되어 있다. 그래서 이 파일로 부터 생성한 조합테이블에서는 이응 + 이응이 U+11EE가 나오는 문제가 있다. 그래서 이 부분은 손으로 직접 수정했다. Unicode 5.2에서 정의된 내용에 따르면 U+11EC - U+11EF 부분은 옛이응으로 처리하는 것이 맞다. git-svn-id: http://kldp.net/svn/hangul/libhangul/trunk@238 8f00fcd2-89fc-0310-932e-b01be5b65e01
-rw-r--r--hangul/hangulctype.c8
-rw-r--r--hangul/hangulkeyboard.h8
2 files changed, 8 insertions, 8 deletions
diff --git a/hangul/hangulctype.c b/hangul/hangulctype.c
index 10fe4d3..2d83de9 100644
--- a/hangul/hangulctype.c
+++ b/hangul/hangulctype.c
@@ -1159,10 +1159,10 @@ hangul_jongseong_get_diff(ucschar prevjong, ucschar jong)
{ 0x1105, 0x1130 }, /* sios-rieul: rieul, sios-rieul */
{ 0x1107, 0x1132 }, /* sios-pieup: pieup, sios-pieup */
{ 0x1140, 0x1140 }, /* pansios: pansios, pansios */
- { 0x1100, 0x1141 }, /* ieung-kiyeok: kiyeok, ieung-kiyeok */
- { 0x1100, 0x1101 }, /* ieung-ssangkiyeok: kiyeok, ssangkiyeok */
- { 0x110b, 0x1147 }, /* ssangieung: ieung, ssangieung */
- { 0x110f, 0 }, /* ieung-khieukh: khieukh */
+ { 0x1100, 0 }, /* yesieung-kiyeok: kiyeok */
+ { 0x1100, 0x1101 }, /* yesieung-ssangkiyeok: kiyeok, ssangkiyeok */
+ { 0x114c, 0 }, /* ssangyesieung: yesieung */
+ { 0x110f, 0 }, /* yesieung-khieukh: khieukh */
{ 0x114c, 0x114c }, /* yesieung: yesieung, yesieung */
{ 0x1109, 0 }, /* yesieung-sios: sios */
{ 0x1140, 0 }, /* yesieung-pansios: pansios */
diff --git a/hangul/hangulkeyboard.h b/hangul/hangulkeyboard.h
index 66c888e..281a50d 100644
--- a/hangul/hangulkeyboard.h
+++ b/hangul/hangulkeyboard.h
@@ -1561,10 +1561,6 @@ static const HangulCombinationItem hangul_combination_table_full[] = {
{ 0x11ba11eb, 0xd7ee }, /* jongseong sios + pansios = sios-pansios */
{ 0x11bb11a8, 0xd7ec }, /* jongseong ssangsios + kiyeok = ssangsios-kiyeok */
{ 0x11bb11ae, 0xd7ed }, /* jongseong ssangsios + tikeut = ssangsios-tikeut */
- { 0x11bc11a8, 0x11ec }, /* jongseong ieung + kiyeok = ieung-kiyeok */
- { 0x11bc11a9, 0x11ed }, /* jongseong ieung + ssangkiyeok = ieung-ssangkiyeok */
- { 0x11bc11bc, 0x11ee }, /* jongseong ieung + ieung = ssangieung */
- { 0x11bc11bf, 0x11ef }, /* jongseong ieung + khieukh = ieung-khieukh */
{ 0x11bd11b8, 0xd7f7 }, /* jongseong cieuc + pieup = cieuc-pieup */
{ 0x11bd11bd, 0xd7f9 }, /* jongseong cieuc + cieuc = ssangcieuc */
{ 0x11bdd7e6, 0xd7f8 }, /* jongseong cieuc + ssangpieup = cieuc-ssangpieup */
@@ -1586,10 +1582,14 @@ static const HangulCombinationItem hangul_combination_table_full[] = {
{ 0x11eb11b8, 0xd7f3 }, /* jongseong pansios + pieup = pansios-pieup */
{ 0x11eb11e6, 0xd7f4 }, /* jongseong pansios + kapyeounpieup = pansios-kapyeounpieup */
{ 0x11ec11a8, 0x11ed }, /* jongseong ieung-kiyeok + kiyeok = ieung-ssangkiyeok */
+ { 0x11f011a8, 0x11ec }, /* jongseong yesieung + kiyeok = yesieung-kiyeok */
+ { 0x11f011a9, 0x11ed }, /* jongseong yesieung + ssangkiyeok = yesieung-ssangkiyeok */
{ 0x11f011b7, 0xd7f5 }, /* jongseong yesieung + mieum = yesieung-mieum */
{ 0x11f011ba, 0x11f1 }, /* jongseong yesieung + sios = yesieung-sios */
+ { 0x11f011bf, 0x11ef }, /* jongseong yesieung + khieukh = yesieung-khieukh */
{ 0x11f011c2, 0xd7f6 }, /* jongseong yesieung + hieuh = yesieung-hieuh */
{ 0x11f011eb, 0x11f2 }, /* jongseong yesieung + pansios = yesieung-pansios */
+ { 0x11f011f0, 0x11ee }, /* jongseong yesieung + yesieung = ssangyesieung */
{ 0xa9641100, 0xa965 }, /* choseong rieul-kiyeok + kiyeok = rieul-ssangkiyeok */
{ 0xa9661103, 0xa967 }, /* choseong rieul-tikeut + tikeut = rieul-ssangtikeut */
{ 0xa9691107, 0xa96a }, /* choseong rieul-pieup + pieup = rieul-ssangpieup */